periph
primary focus is on enablers, that is, host
drivers to provide bus APIs (I²C, 1-wire, SPI, etc) independent of the OS and
the board. Yet this is not useful if there is not at least a few device drivers
included!
You are encouraged to look at tools in cmd/. These can be used as the basis of your projects.
To try the example for each device, put the code into a file named example.go
then execute go run example.go
.
APA102
13 bits LEDs
BMxx80
Family of atmospheric sensors
Button
React to button presses without polling
Buzzer
Annoy your friends with noise
CAP1xxx
Family of capacitive touch sensors
DS18b20
Inexpensive temperature sensor
DS248x
1-wire interface over I²C
Fan
Move air across to cool a embedded components.
FLIR Lepton
InfraRed Thermal Camera
FTDI FT232x
Fast USB multi-protocol connectivity
GPIO
Generic digital input/output support
INA219
High side current voltage and power sensor
IR remote
InfraRed remote support
LED
Toggle a LED is the first step
MF-RC522
MIFARE and NTAG frontend
Motion detector
Detect motion without polling
SSD1306
1 bit OLED display controller
TM1637
Segment controller