aboutsummaryrefslogtreecommitdiff
path: root/include/drv
Commit message (Collapse)AuthorAge
* Can read from the A/C remote control!test_irJosh Rahm2020-12-09
|
* Added some better implementation around the ws2812b driver.Josh Rahm2020-12-04
|
* The lights really work this time.Josh Rahm2020-11-29
| | | | | | | I also found out that the noise in the lighhts was coming from the USB debug interface. For whatever reason it doesn't appear that the spi pins are not well isolated from the debugger noise so unplugging and running off one power source works pretty well.
* Have a stable red/green pattern on my LED strip.Josh Rahm2020-11-29
| | | | | | | | | | | | | | I finally got a stable red/green pattern to show up on the LED strip. Unfortunately I had to do this manually because my driver is broken. No Dma, interrupts or drivers, but manually writing to the spi bus. Currently the driver assums the data sheet doesn't lie and inflates each bit 3:1 so a 1 is a 110 pattern and a 0 is a 100 pattern. This should be well within the tolerances at 2.5Mhz, but alas it's not. I figured out that it's better to inflate each bit to a 4:1 ratio so a 1 is a 1100 pattern and a 0 is a 1000 pattern. This appears to produce cleaner results.
* Some LED lights working. Not great. WIPJosh Rahm2020-11-28