https://toitlang.org/ logo
As an SoC enthusiast, I'm really excited about con...
# general
j
As an SoC enthusiast, I'm really excited about convenient development approaches like Toit. However, I've run into an issue. I'm trying to get a simple blink example working with Toit on an ESP32-C3-DevKitm-1 board. This board supposedly has an RGB LED connected to GPIO8. When I test it using the ESPressif IDF's blink example, it works perfectly. But when I run my Toit program, while it executes without errors, the RGB LED doesn't light up. Here's my Toit code, and I'm wondering where the problem might be
Copy code
Toit
import gpio

main:
  while true:
    myled := gpio.Pin 8 --output
    myled.set 1
    sleep --ms=1000
    myled.set 0
    sleep --ms=1000
    myled.close
    print "Hello ... Toit ..."