Olivier LeDiouris
c31a7414ac
IO: Add PCA9685 servo/PWM controller example
...
Donated by @OlivierLD, minor cleanups by @gohai
2018-07-01 10:54:45 -07:00
Olivier LeDiouris
611175f416
IO: Add TSL2561 environmental sensor example
...
Donated by @OlivierLD, minor cleanups by @gohai
2018-07-01 10:54:45 -07:00
Olivier LeDiouris
ed8ad617af
IO: Add BME280 environmental sensor example
...
Donated by @OlivierLD, minor cleanups by @gohai
2018-07-01 10:54:45 -07:00
gohai
c026d8e6f2
IO: Add MPR121 capacitive touch example
2018-07-01 10:54:45 -07:00
gohai
def4a9b4db
IO: Reorganize OOP examples
2018-07-01 10:54:45 -07:00
gohai
0b4498e5d6
IO: Clarify SimpleInput example
...
As suggested by @msurguy
2018-07-01 10:54:45 -07:00
gohai
d613f999c0
IO: Implement Raspbian-only method for setting pull{up,down} resistors
...
Aarch64 version compiled courtesy of @xranby
2018-07-01 10:54:45 -07:00
gohai
5ff162e20a
IO: Invert OLED example
...
This makes bright pixels be illuminated on the display.
2017-04-05 14:52:22 +02:00
gohai
1df221200b
IO: Update I2CScreen example
...
Hardcode i2c interface, add background, fix indentation
2017-04-03 18:18:46 +02:00
gohai
9025ecee4e
IO: Remove superfluous super in examples
2017-02-26 15:26:32 +01: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
ef1490566b
IO: Fix LedCounter example
2016-05-05 19:27:19 +02:00
gohai
0d9d2d22d5
IO: Add an example that shows how to use a digital pin and a capacitor to measure resistive sensors
2016-04-04 21:01:20 +02:00
gohai
29f797bb79
IO: Add an 8-channel ADC example using the MCP3008
2016-04-03 17:37:49 +02:00
gohai
50be2983e2
IO: Add an OLED display example
2016-04-03 17:37:49 +02:00
gohai
102f55b29d
IO: Add comments pointing to wiring diagrams
2016-02-14 11:37:30 +01:00
gohai
c30aa85ab9
IO: Use GPIO numbers in examples
...
Even the Raspberry Pi Foundation used GPIO numbers over (congruous) physical pin numbers:
https://www.raspberrypi.org/learning/introduction-to-processing/worksheet-2/
Switch our examples as well, so that it they're more clear and hardware-agnostic.
2016-02-14 01:07:37 +01:00
gohai
622e907d68
I/O: Comment fix
2015-10-12 17:02:16 +02:00
gohai
06799bb757
I/O: Move GPIO examples away from I2C pins
...
It appears as if using the I2C pins for GPIO requires a restart of the Raspberry Pi before the I2C interface can be used again. Play safe and move the examples to pins that aren't used for anything else.
2015-10-12 17:00:49 +02:00
gohai
3ddf2d773c
I/O: Remove casts to byte from example sketches
2015-10-12 16:59:04 +02:00
gohai
bc02e4b7b6
I/O: Add examples
2015-10-12 00:11:55 +02:00