Commit Graph

8 Commits

Author SHA1 Message Date
gohai
0bb5b77328 IO: Add a 100ms timeout to I2C to allow communication with Arduino
Note this currently does not include the compiled binary for linux-arm64
2018-07-01 10:05:03 -07:00
gohai
41a52e7423 IO: Fix crash when I2C.read() was called without prior write() 2018-07-01 10:05:03 -07:00
gohai
de2cac9860 IO: Implement Raspbian-only method for setting pull{up,down} resistors
Aarch64 version compiled courtesy of @xranby
2018-06-18 07:38:30 -07:00
gohai
fb4b054bbe IO: Compile native code with -ffast-math 2017-03-13 20:31:57 +01:00
gohai
ad28491c25 IO: Add PHONY target to Makefile 2016-08-28 17:50:40 +02:00
gohai
dbdeb9cf66 IO: We want motors, they said (implements SoftwareServo)
Some measurements with a logic analyzer and the Raspberry Pi 2
sleep: 0.001500, measured avg: 0.0015357, measured 0.95 perc.: 0.0015573
sleep: 0.0185, measured avg: 0.0186177, measured 0.95 perc.: 0.0186345

servo_pulse_oversleep was set to account for the (expected) overhead of waking up and toggling the pin with help from the numbers above.
2016-06-23 19:52:14 +02:00
gohai
bffe20f230 I/O: Rename to "Hardware I/O" 2015-10-15 13:15:57 +02:00
gohai
fb6437f307 Add I/O library for Raspberry Pi and similar Linux-based micro computers 2015-10-11 11:50:17 +02:00