stephendpmurphy / tiny-oled.firmware

A project built around learning new concepts and challenging my current understanding and capabilities in Firmware Development
MIT License
0 stars 2 forks source link

Implement TWI driver #8

Open stephendpmurphy opened 4 years ago

stephendpmurphy commented 4 years ago

Implement a TWI driver (I2C), that will be used for communicating with the OLED display, RGB LEDs, and potentially a gyro sensor.

stephendpmurphy commented 4 years ago

There is no TWI module built into the attiny87, and instead TWI must be emulated using the USI module. This implementation is a bit messy, and as of now I might implement all hardware on a single SPI bus instead. So I am tabling this for now.

If I need it, the work can be picked up on the branch "addTWIdriver"