avatar

we love a colorbar, oh oh oh oh!

Adafruit Industries
Adafruit Industries
Episode • Nov 12, 2023 • 1m
we love a colorbar, oh oh oh oh!
red, orange, yellow, green, blue... we love a rainbow when it appears on our TFT display! there's three parts to getting these funky displays working with raspberry pi over the DSI port: the SPI configuration of the screen, the I2C configuration of the ICN6211 converter and the DTO device tree overlay on the pi itself. all must be perfect for an image to appear! to make it less complex, we're going to only do one part at a time and celebrate the successes. we already got the SPI config working - blinking all the pixels on and off - now we look at the ICN configuration (https://github.com/timonsku/Adafruit_CircuitPython_ICN6211) - to make sure the PLL and resolution and sync's are correct (https://github.com/timonsku/display-overlays/blob/main/panels/HD40015C40/HD40015C40.py)! in order to separate it from the raspi MIPI DSI interface config, we turn on BIST test mode and have it display a colorbar (https://github.com/timonsku/display-overlays/blob/main/panels/HD40015C40/HD40015C40.py#L28). if the colors are in the right order we know that we have 2 out of 3 working, and we can move onto the next stage...Device Tree Overlay config!
Visit the Adafruit shop online - http://www.adafruit.com
-----------------------------------------
LIVE CHAT IS HERE! http://adafru.it/discord
Subscribe to Adafruit on YouTube: http://adafru.it/subscribe
New tutorials on the Adafruit Learning System: http://learn.adafruit.com/
-----------------------------------------