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
TinyDigitalIn.cpp
00001 #include "TinyDigitalIn.h" 00002 00003 // Dummy port for NC (not connected) ports. This is simply a memory 00004 // location that always reads as all ones. This lets us set up a pointer 00005 // in the instance so that we can read it as though it were really 00006 // connected to a port, but the port will always read as pulled up. 00007 const uint32_t TinyDigitalIn::pdir_nc = 0xFFFFFFFF;
Generated on Wed Jul 13 2022 03:30:11 by 1.7.2