PropWare
3.0.0.229
C++ objects and CMake build system for Parallax Propeller
|
#include <stdio.h>
#include <propeller.h>
#include <sys/thread.h>
Go to the source code of this file.
Macros | |
#define | STACK_SIZE 16 |
#define | MIN_GAP 400000 |
Functions | |
void | do_toggle (void *arg __attribute__((unused))) |
int | main (void) |
Variables | |
static int | cog1_stack [STACK_SIZE] |
static _thread_state_t | thread_data |
volatile unsigned int | wait_time |
volatile unsigned int | pins |
This program demonstrates starting another COG running LMM code. The cog makes all IO except 30/31 toggle.
Copyright (c) 2011 Parallax, Inc. MIT Licensed (see at end of file for exact terms)
Definition in file toggle.c.