
An I/O controller for virtual pinball machines: accelerometer nudge sensing, analog plunger input, button input encoding, LedWiz compatible output controls, and more.
Dependencies: mbed FastIO FastPWM USBDevice
Fork of Pinscape_Controller by
pinscape.h
00001 // Global definitions 00002 00003 #ifndef PINSCAPE_H 00004 #define PINSCAPE_H 00005 00006 // custom malloc - includes diagnostics if we run out of memory 00007 void *xmalloc(size_t siz); 00008 00009 // diagnostic LED display 00010 void diagLED(int r, int g, int b); 00011 00012 // count of elements in array 00013 #define countof(x) (sizeof(x)/sizeof((x)[0])) 00014 00015 #endif
Generated on Sat Apr 18 2020 19:09:13 by
