parseInt() on WiFiClient stream returns a 0 in Arduino Uno R4 #419
Labels
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
parseInt() returns zero when called on the WiFiClient stream. Here's the simplest example. Paste this into a new ESP32 example on www.wokwi.com, or use an actual ESP32 board, or any non Renesas Arduino board.
Now, paste the same thing in Arduino IDE that is programming a Arduino Uno R4 and see that it always returns 0.
Also refer to the Stream utility class' parseInt method documentation here: https://www.arduino.cc/reference/tr/language/functions/communication/stream/streamparseint/
It appears that the WifiClient here does not behave the way other communication streams on Arduino work.
The text was updated successfully, but these errors were encountered: