NodeMCU Projects: Difference between revisions

 
(2 intermediate revisions by the same user not shown)
Line 6:
= Small Projects =
 
== PlayingLED with GPIOON/OFF ==
 
<syntaxhighlight lang="python">
from machine import Pin
 
led = Pin(2, Pin.OUT)
 
led.value()
led.value(1)
led.value(0)
</syntaxhighlight>
 
== Toggle GPIO ==
 
<syntaxhighlight lang="python">
Line 614 ⟶ 626:
</syntaxhighlight>
 
= TM1637 CLock =
 
Download Library:
https://github.com/mcauser/micropython-tm1637/blob/master/tm1637.py
 
{{UC}}