The Heltec WiFi 32 board from Heltec has an onboard LED, connected to PIN25 / GPIO25.

 

To “blink” this led, for signaling status or just for fun set PIN 25 to LOW or HIGH.

This is just a simple code in micropython!

Happy blinking!


Heltec WiFi 32 board
 
Onboard LED blink – WiFi LoRa ESP32 (heltec)
Tagged on:         

2 thoughts on “Onboard LED blink – WiFi LoRa ESP32 (heltec)

  • June 9, 2021 at 09:05
    Permalink

    Nice Example,
    We modified it a little and used Thonny.

    from machine import Pin
    from time import sleep
    i=0
    while (1):
    OnboardLED = Pin(25, Pin.OUT)
    sleep(0.5)
    OnboardLED.value(1)
    sleep(0.5)
    OnboardLED.value(0)

    Reply
  • March 5, 2022 at 15:22
    Permalink

    my board pin 36-39 don’t work, any hints?

    Reply

Leave a Reply to Wolfgang Ritzert Cancel reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.