Skip to content

andersrye/maddarts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mad-darts

arduino-dart

The code that runs on the Arduino. Prints hits to serial (9600 baud) in the format

<sector>;<multiplier>

ex.:

20;3

is a triple 20.

pi-dart

Requires pySerial

Listens to the messages from the arduino on the serial port, and adds metadata (board ID and time stamp in ms) in the format

THROW;<timestamp>;<board-id>;<sector>;<multiplier

ex.:

THROW;1391604497717;bid1;9;2

and then broadcasts this message using socat.

NB: arduino needs to be plugged in before starting the script.

test-files

Only used for testing GPIO on the pi.

Requires wiringPi

Compile with

gcc -Wall -o keypad keypad.c -lwiringPi

About

Dart code for pi + arduino

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors