HokieGeek / power-supply-voltage-selector

My tabletop voltage source
0 stars 0 forks source link

Determine why USI didn't work for the pot's SPI #11

Open HokieGeek opened 9 years ago

HokieGeek commented 9 years ago

I would rather not have to resort to bit banging

HokieGeek commented 9 years ago

Exact example of using USI to drive a 595: https://github.com/JChristensen/tinySPI

HokieGeek commented 9 years ago

See section 15 of the attiny85 datasheet

HokieGeek commented 9 years ago

USICS0 = 1

HokieGeek commented 9 years ago

Create a USI class that SPI wraps around.

Need

HokieGeek commented 9 years ago

http://www.atmel.com/Images/doc2582.pdf http://www.atmel.com/images/doc2585.pdf http://maxembedded.com/2013/11/the-spi-of-the-avr/#Code https://www.arduino.cc/en/Reference/SPITransfer