NodeMCU Projects: Difference between revisions

Content added Content deleted
Line 60: Line 60:
ap.config(essid='MyESP8266', authmode=network.AUTH_WPA_WPA2_PSK, password='mypassword');
ap.config(essid='MyESP8266', authmode=network.AUTH_WPA_WPA2_PSK, password='mypassword');
print(ap.config('essid'));
print(ap.config('essid'));

*Boot Process:
As a final step of boot procedure, ''main.py'' is executed from filesystem
This file is a hook to start up a user application each time on boot (instead of going to REPL).
For small test applications, you may name them directly as ''main.py''
but instead it’s recommended to keep your application(s) in separate files, and have just the following in main.py:

import my_app
my_app.main()


== Projects ==
== Projects ==