NodeMCU Projects: Difference between revisions
→Auto Marque Library
Line 532:
</syntaxhighlight>
* Flash all the LEDs
<syntaxhighlight lang="python">
def flash(x,y,z):
for i in range(x):
d.fill(1)
d.show()
time.sleep(y)
d.fill(0)
d.show()
time.sleep(z)
flash(3,0.2,0.2)
</syntaxhighlight>
== Display Info using Urequests ==
|