Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /********* Pleasedontcode.com **********
- Pleasedontcode thanks you for automatic code generation! Enjoy your code!
- - Terms and Conditions:
- You have a non-exclusive, revocable, worldwide, royalty-free license
- for personal and commercial use. Attribution is optional; modifications
- are allowed, but you're responsible for code maintenance. We're not
- liable for any loss or damage. For full terms,
- please visit pleasedontcode.com/termsandconditions.
- - Project: **WiFi Hello**
- - Source Code NOT compiled for: Arduino Nano ESP32
- - Source Code created on: 2024-11-01 13:36:33
- ********* Pleasedontcode.com **********/
- /****** SYSTEM REQUIREMENTS *****/
- /****** SYSTEM REQUIREMENT 1 *****/
- /* print hello every 1 second. */
- /****** END SYSTEM REQUIREMENTS *****/
- /* START CODE */
- /****** DEFINITION OF LIBRARIES *****/
- #include <ESP_AT_WiFiManager.h> //https://github.com/khoih-prog/ESP_AT_WiFiManager
- /****** FUNCTION PROTOTYPES *****/
- void setup(void);
- void loop(void);
- /****** DEFINITION OF LIBRARIES CLASS INSTANCES*****/
- ESP_AT_WiFiManager wifiManager; // Instance of the WiFi Manager
- void setup(void)
- {
- // put your setup code here, to run once:
- Serial.begin(115200); // Initialize serial communication at 115200 baud rate
- wifiManager.autoConnect(); // Connect to WiFi
- }
- void loop(void)
- {
- // put your main code here, to run repeatedly:
- Serial.println("hello"); // Print "hello" to the Serial Monitor
- delay(1000); // Wait for 1 second
- }
- /* END CODE */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement