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!

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

One thought 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

Leave a Reply

Your email address will not be published. Required fields are marked *

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