Wireless Stick GPIO25

Hello

I apologise if this seems like a really simple question, but I’m struggling to get the on-board LED to light up (using the usual digitalWrite(LEDPin,HIGH) etc with LEDPin set to 25. Worse than that (!), I can’t actually find the LED on the board (mainly because it is so small and won’t light up).

Is there something else I need to do besides setting the pinMode(LedPin,OUTPUT) and then using digitalWrite ?

Thank You !!

Try this:
pinMode(LED,OUTPUT);
digitalWrite(LED,HIGH);
You should take care to make the pin names the same.
pinMode(LedPin,OUTPUT);
digitalWrite(LEDPin,HIGH);
It won’t work.

Hi

Thank you for replying so quickly. My code is very simple:

Heltec.begin(true /DisplayEnable Enable/, true /Heltec.Heltec.LoRa Disable/, true /Serial Enable/, true /PABOOST Enable/, BAND /long BAND/);

Serial.print("LED= ");
Serial.println(LED);
pinMode(LED,OUTPUT);
digitalWrite(LED,LOW);
digitalWrite(LED,HIGH);

and the serial output I get is (just to confirm the value of LED)

Serial initial done
you can see OLED printed OLED initial done!
LoRa Initial success!
LED= 25

but no LED lights up. Can you confirm that the LED connected to GPIO25 is on the upper right hand corner of the board (above the wifi antenna) ?

Thanks for your help.
Cheers

David F

Yes, the LED connected to GPIO25 is in the upper right corner of the board.
You can use a multimeter or ADC to detect whether GPIO25 is high.

Thank you. I will check it with a multimeter.

Best Regards
David