PropWare
3.0.0.229
C++ objects and CMake build system for Parallax Propeller
|
#include <stdio.h>
#include <unistd.h>
#include <propeller.h>
#include "toggle.h"
Go to the source code of this file.
Macros | |
#define | MIN_GAP 400000 |
Functions | |
void | start (volatile void *parptr) |
int | main (int argc, char *argv[]) |
Variables | |
struct { | |
unsigned | stack [STACK_SIZE] |
volatile struct toggle_mailbox | m |
} | par |
volatile int | togglecount = 0 |
This program demonstrates starting COG code with C in it from C. 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.