I'm trying my WeMos Clone and I'm always getting a time out error...
Here's my board:
I'm trying a very simple example derivate from one of EREL's examples, that in this case (should) just log the wireless networks in range SSID's
B4X:
Sub Process_Globals
Public Serial1 As Serial
Private wifi As ESP8266WiFi
End Sub
Private Sub AppStart
Serial1.Initialize(115200)
Log("AppStart")
ScanNetworks
End Sub
Private Sub ScanNetworks 'ignore
Dim numberOfNetworks As Byte = wifi.Scan
Log("Found: ", numberOfNetworks, " networks.")
For i = 0 To numberOfNetworks - 1
Log(wifi.ScannedSSID(i))
Next
End Sub
From time to time, my error changes from a simple time out, to this:
exit status 1C:\Users\psapg\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar: unable to rename '\\RASPBERRYPI\Data\B6SOM5~D\B4R\ESP8266\Objects\bin/arduino.ar'; reason: Permission denied
So I decided to copy the folder to my D drive and it did compile... eventually! Timeout set to 280secs...
But nothing happens after the compile successful message... it's like the code is not executed
So I finally got it working... Seems like B4R does not like much working with remote locations...
I copied the project folder to my Local D drive, and re-set all the Board params to their default values and lowered back my timeout to 120..
All works fine!!