Search found 1 match

by seb77
Fri May 03, 2019 9:22 am
Forum: ESP32 boards
Topic: Issues blinking ESP32 onboard LED
Replies: 7
Views: 25867

Re: Issues blinking ESP32 onboard LED

Hi,
I am using ESP32 WROOM DEVKIT v1.
The blue led is on GPIO2 and turning it on and off in MP goes sth like this (it works ;) ):
>>> from machine import Pin
>>> led = Pin(2, Pin.OUT)
>>> led.on()
>>> led.value()
1
>>> led.off()