Jump to content

NodeMCU Projects: Difference between revisions

 
Line 9:
 
<syntaxhighlight lang="python">
importfrom machine import Pin
 
pinled = machine.Pin(2, machine.Pin.OUT)
 
pinled.value()
pinled.value(1)
pinled.value(0)
</syntaxhighlight>
 
Cookies help us deliver our services. By using our services, you agree to our use of cookies.