Jump to content

NodeMCU Projects: Difference between revisions

Line 501:
</syntaxhighlight>
 
 
== Auto Marque Library ==
 
Source: [https://github.com/jgbrown32/ESP8266_MAX7219 github.com]
 
*Download below Library and upload it to NodeMCU:
https://github.com/jgbrown32/ESP8266_MAX7219/blob/master/max7219.py
 
<syntaxhighlight lang="python">
from machine import Pin, SPI
import max7219, utime
 
spi = SPI(1, 10000000)
d = max7219.Max7219(32, 8, spi, Pin(15), False)
d.text("Aman", 0, 0)
d.show()
utime.sleep(5)
 
while True:
d.marquee("This code is working fine now...")
</syntaxhighlight>
 
<br />
Cookies help us deliver our services. By using our services, you agree to our use of cookies.