When I Serial.print() anything within the setup function using the Arduino library and IDE, I don't get anything. But when I move the Serial.print() lines to the loop function they appear normally. The code in setup() seems to be running. I just can't print anything to serial.
Can't serial print in setup() using HiLetgo ESP8266 with ESP8266WiFi.h library and Arduino IDE
471 Views Asked by chjno At
2
There are 2 best solutions below
Related Questions in ESP8266
- Wifi disconnects and connects again and again while using esp8266, max30100 and oled display
- I can't find a conenction diagarm for the OV7670 camera to the ESP8266
- ESP8266 - Unable to connect to MQTT Server via SSL (mutual authentication)
- esp-01 wifi module STM32F4 discovery firebase
- How to get my data to actually show up in the DynamoDB?
- Is there a way to upload/edit files from Android to LittleFS
- ESP8266 StreamHttpClient example broken - prints "read timeout" error
- Using FastLED and SharpIR Libraries with Generic ESP8266 Board
- Problems sending websocket message from esp8266 as client
- "Blynk Connection Issue with Arduino and ESP8266 in IoT Project"
- How to receive a float array using esp8266 via I2c
- Communication between Arduino UNO and ESP8266 via TXS0108E
- ESP8226 connected by USB to TTL using USB A to USB Mini B cable to temperature sensor DHT22 error with Arduino IDE - upload (Thingsboard IOT WIFI)
- Can't open serial monitor while pyserial script is working, using nodemcu
- WebSocket connection with a ESP-01S (ESP8266) and arduino
Related Questions in ARDUINO-IDE
- Some noise when attempting to produce sound wia external DAC for esp323
- Wifi disconnects and connects again and again while using esp8266, max30100 and oled display
- "expected '}' at end of input" on arduino code
- Blink Sketch not be uploaded in Arduino Nano using IDE 2.3.2
- How to combine Pulse Sensor to send Telegram message with Arduino?
- Arduino IDE: The IP address was not printing in serial monitor
- I don't know where to start with ethernet communication with Automation Direct P1AM-200 ETH module communication
- Moving a flat surface left and right with a potentiometer
- problems with switch functions at arduino
- Error running code on Uno r4 wifi which works great on Nano
- Communication between Arduino UNO and ESP8266 via TXS0108E
- Arduino Compass HMC5883L code compiler error
- Arduino: How can I check when a LED is On and the joystick is moved ongoing to this direction?
- ESP8226 connected by USB to TTL using USB A to USB Mini B cable to temperature sensor DHT22 error with Arduino IDE - upload (Thingsboard IOT WIFI)
- How can I upload data from Arduino uno ethernet shield to mongodb Atlas
Related Questions in ARDUINO-ESP8266
- Some noise when attempting to produce sound wia external DAC for esp323
- Wifi disconnects and connects again and again while using esp8266, max30100 and oled display
- I can't find a conenction diagarm for the OV7670 camera to the ESP8266
- The BH1750 fails to be configured
- ESPCAM and ESP32 data gets sent and comes back empty with ESPNOW
- Fingerprint Sensor AS608 Not Detected on Wemos D1 R1 (ESP8266)
- Is there a way to upload/edit files from Android to LittleFS
- ESP8266 StreamHttpClient example broken - prints "read timeout" error
- Problems sending websocket message from esp8266 as client
- How to receive a float array using esp8266 via I2c
- ESP8266 AT+CWLAP does not return available networks
- Arduino is able to connect to database running on my laptop, but not to one running on a server setup by a teacher
- error message WeMos d1 mini: A fatal esptool.py error occurred: Failed to connect to ESP8266: Timed out waiting for packet header
- WebSocket connection with a ESP-01S (ESP8266) and arduino
- How do I use MQTTClient library on Arduino to publish and subscribe to the MQTT broker installed on a Mac using Homebrew?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Put these lines at the top of the setup :