8/31/2023 0 Comments Tft spi arduino![]() ![]() If using the breakout, change pins as desired Use hardware SPI (on Zero, use 3x2 pins) and the above for CS/DC/RESETĪdafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC, TFT_RST) Use hardware SPI (on Uno, #13, #12, #11) and the above for CS/DC For the Adafruit shield, these are the default. This must be connected to a regular GPIO on a Zero.Īnd then use Adafruit_ILI9341 example e.g. I would connect RESET to a regular GPIO on the Zero. I would be happier with 3.3V (or a GPIO pin) But I would be happier with pullup to 3.3V I'm a bit lost as to what to look at next to figure this out. I'm working on a breadboard using jumpers, and I've just checked all the jumpers/connections with an ohm meter and seeing almost no resistance. Tried the shield LCD display on the cheap zero clone, and it worked.Īt this point, I bought another display, assuming I had a defective unit. The shield was modded to use the ICSP for the SPI communication. I then tried an adafruit 2.8 LCD display shield on my UNO. On the UNO, I was using the ICSP for those connections. Next, since this is a 3.3v logic unit, I hooked up it to an arduino UNO using a resistor voltage divider, as documented on several web searches on the subject, to give me the correct logic levels. I edited the code to use the ICSP connectors for MOSI, CLK, MISO, and made changes to get the code to run on a arduino zero. I hooked the display up to a cheap zero clone and using the adafruit libraries for a display with an ILI9341 driver and got no response from the display. I assume it's a common cheap display as I find it quite a lot in searches. I'm having problems getting a cheap 2.8 SPI TFT display to work. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |