NodeMCU Projects: Difference between revisions
Content added Content deleted
Line 9: | Line 9: | ||
<syntaxhighlight lang="python"> |
<syntaxhighlight lang="python"> |
||
from machine import Pin |
|||
led = Pin(2, Pin.OUT) |
|||
led.value() |
|||
led.value(1) |
|||
led.value(0) |
|||
</syntaxhighlight> |
</syntaxhighlight> |
||