https://github.com/raspberrypi/rpi-sense
Sense HAT firmware and driver
https://github.com/raspberrypi/rpi-sense
Last synced: 5 months ago
JSON representation
Sense HAT firmware and driver
- Host: GitHub
- URL: https://github.com/raspberrypi/rpi-sense
- Owner: raspberrypi
- Created: 2015-02-10T10:32:55.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2018-12-08T22:15:21.000Z (over 7 years ago)
- Last Synced: 2025-01-29T21:43:31.833Z (about 1 year ago)
- Language: Assembly
- Homepage:
- Size: 43 KB
- Stars: 71
- Watchers: 24
- Forks: 23
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RPi-Sense
WIP LED HAT firmware and driver
## Prerequisites
`sudo apt-get install gcc-avr avr-libc avrdude`
## Compiling
`make`
## Flashing
Ensure SPI is enabled.
`make flash`
## Using the board
Enable I2C in `raspi-config`
Boards with a programmed EEPROM will have nodes populated in the device tree automatically.
Add the following module to `/etc/modules`:
```
i2c-dev
```
## Using IIO
https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-bus-iio
https://archive.fosdem.org/2012/schedule/event/693/127_iio-a-new-subsystem.pdf
http://wiki.analog.com/software/linux/docs/iio/iio-trig-sysfs