Chat freely about anything...

User avatar
By HermannSW
#21127 > is it also possible to drive the LEDs with LUA instead of C ??
>
yes, in LUA GPIO1 is IO index 10:
https://github.com/nodemcu/nodemcu-firmware#user-content-gpio-new-table--build-20141219-and-later

This does toggle the blue LED:
Code: Select allgpio.write(10, 1-gpio.read(10))


Hermann.