NodeMCU Projects: Difference between revisions

Content added Content deleted
Line 47: Line 47:
machine.freq() # get the current frequency of the CPU
machine.freq() # get the current frequency of the CPU
machine.freq(160000000) # set the CPU frequency to 160 MHz
machine.freq(160000000) # set the CPU frequency to 160 MHz



*Check AP Name:
*Check AP Name:
Line 69: Line 68:
import my_app
import my_app
my_app.main()
my_app.main()

* Upload data using Serial Port
sudo pip install adafruit-ampy
ampy --port /dev/ttyUSB0 put ~/Desktop/main.py


== Projects ==
== Projects ==