Ihr Warenkorb ist leer
Ihr Warenkorb ist leergoogily moogily
Bewertet in den USA am12. Januar 2024
This took more work than I should admit, but I managed to get this working with micropython and nano-gui. I used the micropython firmware for ESP32 / WROOM.One thing to keep and mind, and where I stumbled, is that this device's TFT has a backlight on it. If you're using the nano-gui demo libraries to test, you need to make sure and enable it.I used the following color_setup.py to get it to work.from machine import Pin, SPIimport gc# *** Choose your color display driver here ***# ili9341 specific driverfrom drivers.ili93xx.ili9341 import ILI9341 as SSDTFT_MISO = 12TFT_MOSI = 23TFT_SCLK = 18TFT_CS = 27TFT_DC = 32TFT_RST = 5TFT_BL = 4pdc = Pin(TFT_DC, Pin.OUT, value=0) # Arbitrary pinspcs = Pin(TFT_CS, Pin.OUT, value=1)prst = Pin(TFT_RST, Pin.OUT, value=1)bl = Pin(TFT_BL, Pin.OUT, value=1) #Turn on Backlight# Kept as ssd to maintain compatabilitygc.collect() # Precaution before instantiating framebufspi = SPI(1, 10_000_000, sck=Pin(TFT_SCLK), mosi=Pin(TFT_MOSI), miso=Pin(TFT_MISO))ssd = SSD(spi, dc=pdc, cs=pcs, rst=prst)>>>I was able to compile the stock Arduino code from their github and install it successfully while testing. The left button supposedly turns on a buzzer, but mine does not seem to have one. I didn't purchase it for that. The middle button will scan WiFi and it was able to see all the networks in the area. I did not put a microSD card into the slot to verify it works yet.
Produktempfehlungen