Added a thing and using given example loaded to sketch. Verified the code and see the serial monitor output. Added device and configured with SSID and password too. But it always shows OFFLINE. Gone through this forum with same problems tried all suggested solutions too. Closed serial monitor too on arduino IDE on PC. I am using free PLAN which allows 2 things as I am just starting to
learn
/usr/local/bin/arduino-cli compile --fqbn arduino:renesas_uno:unor4wifi --build-cache-path /tmp --output-dir /tmp/1273314228/build --build-path /tmp/arduino-build-8948171C67114063A99F45DBB739BD7C /tmp/1273314228/Untitled_2_nov12b
[info] Sketch uses 110620 bytes (42%) of program storage space. Maximum is 262144 bytes.
[info] Global variables use 10404 bytes (31%) of dynamic memory, leaving 22364 bytes for local variables. Maximum is 32768 bytes.