FlippR Driver
This is a driver written to control Zaccaria pinball machines from the 2nd Generation. It controls the hardware that can be found in the flippr-circuit repository.
An example game implementation for the Zaccaria Pinball Champ '82 can be found at flippr-game.
Build Instructions
By default a static library gets build together with a networking target which enables communication over a UNIX Socket, for possible games.
Dependencies
- wiringPi
Build
To build the flippr-driver library run the following commands:
$ cd flippr-code/FlippR-Driver/build
$ cmake ..
$ make
This will create you the static-library file: flippr-code/FlippR-Driver/bin/libFlippR-Driver.a
The library uses wiringPi Pin numbering important for the config files
We added a script /usr/bin/reset_flippr this can be found in the repo and must be chosen in /etc/rc.local. It prevents the solenois from burning!
Build Options
-DCROSS_COMPILECross compile for raspberry pi. Default: Off-DBUILD_SHARED_LIBBuild a shared library. Default: Off-DENABLE_TESTINGEnables Tests after build. Default: On-DBUILD_NETWORKINGBuilds the networking target binary. Default: On-DBUILD_CLIBuild a basic TUI to control the flipper by hand. Default: Off