|
PropWare
3.0.0.229
C++ objects and CMake build system for Parallax Propeller
|
15 static volatile int reps = 0;
16 static volatile int repsOld = 0;
17 static volatile int pinSountImpact;
21 int *cog =
cog_run(soundImpact, 20);
40 int state =
input(pinSountImpact);
45 state =
input(pinSountImpact);
int soundImpact_getCount(void)
Get number of impacts since last call to soundImpact_getCount.
void soundImpact_end(int *processID)
End sound impact tracking process and recovers cog and stack memory for other purposes.
Monitor sound impact occurrences from another cog. IMPORTANT: This library is only for making moni...
int * soundImpact_run(int pin)
Runs the sound impact tracking process in another cog.