Bug? mac address

derez

Expert
Licensed User
Longtime User
It works. Still there is something strange. The installation ends with this:
upload_2018-6-3_16-37-16.png


and only after pressing the boards reset button I get it to run:

upload_2018-6-3_16-38-13.png
 

derez

Expert
Licensed User
Longtime User
It works on the first installation with a short delay (at least 1500 msec) :
B4X:
Private Sub AppStart
  Serial1.Initialize(115200)
  Log("AppStart")
  tmr.Initialize("tmr_Tick",1500)
  tmr.Enabled = True
End Sub

Sub tmr_Tick
    Log(bc.HexFromBytes(MacAddress))
    tmr.Enabled = False
End Sub
 

derez

Expert
Licensed User
Longtime User
Try to add Delay(2000) at the beginning of your app.
I don't know what happened but all 3 Wemos work correctly even without the delay...
Lets forget it !
There is no application involved except your code which I used to find the mac address.
 
Top