Open trevorwslee opened 2 weeks ago
Hello, hope this message finds you well. Congrats to your first Issue! We will review it as soon as possiable. Feel free to have a look at https://www.amebaiot.com/en/ameba-arduino-summary/ for more information
Hi, have you tried setting non blocking mode for your server? Uncomment this line: //server.setNonBlockingMode(); in your set up loop. Thank you.
Boards
AMB82-mini
External Hardware
no`
Hardware Configuration
no
Version
other
IDE Name
Arduino IDE 2.3.3
Operating System
Windows
Auto Flash Mode
Disable
Erase All Flash Memory (16MB)
Disable
Standard Lib
Arduino_STD_PRINTF
Upload Speed
2000000
Description
The sample SimpleTCPServer.ino (https://github.com/Ameba-AIoT/ameba-arduino-pro2/blob/dev/Arduino_package/hardware/libraries/WiFi/examples/SimpleTCPServer/SimpleTCPServer.ino) works fine.
However, if the loop() is changed to be like
it doesn't seem to work as expected,
Note that I tried the same modified sketch with UNO R4 and it works fine with UNO R4
Thanks for looking into the issue.
Sketch
Error/Debug Message
Reproduce remarks
No response
I have checked online documentation, FAQ, GitHub Wiki and existing/closed issues.