Notifications
Clear all

Using a shift Register with a 3.5" TFT in 8-bit mode

3 Posts
2 Users
1 Reactions
902 Views
(@leonardo1123)
Tinkerer
Joined: 3 years ago
Posts: 56
Topic starter  

So I've got this 3.5" TFT from afdafruit that I'm using in 8-pin mode, and it's working fine, but this seems like a perfect opportunity for a shift register! Unfortunately, most of the TFT libraries I've found assuming the 2-9 connection and are not made to support a shift register. Is there an easier solution then modifying their code to work with a shift register, or am I over-thinking this?

Fortune Favors the Bold


   
Quote
 mday
(@mday)
Member
Joined: 5 years ago
Posts: 9
 

You’d probably have to add that support yourself.  If it works well, consider contributing back to the open source project.

Note that using a shift register will be functionally similar to SPI (in fact, you could send data to the shift register with SPI). It would be interesting to see if it’s any faster.


   
Leonardo1123 reacted
ReplyQuote
(@leonardo1123)
Tinkerer
Joined: 3 years ago
Posts: 56
Topic starter  

@mday SPI as is my nemesis as I have failed to ever to get two SPI devices simultaneously due to my poor knowledge of the interface, which is partly why I went 8-bit mode instead of SPI for the TFT, but I thank you for your insight! Speed comparisons would be interesting, but I don't think I'm at the level of adding that sport yet haha. Still trying to connect an SD card to it along with an NRF24L01...

Fortune Favors the Bold


   
ReplyQuote