Hi all
I am busy playing around with the ESP32.
So I have managed to upload the basic code and it connects to my Wifi correctly, but when I add the Ping Lib, I get this error
Could not find a part of the path 'C:\b4raLibs\rESP32Ping\resp32ping'.
Any Ideas ? Thank you
This is my Code
I am busy playing around with the ESP32.
So I have managed to upload the basic code and it connects to my Wifi correctly, but when I add the Ping Lib, I get this error
Could not find a part of the path 'C:\b4raLibs\rESP32Ping\resp32ping'.
Any Ideas ? Thank you
This is my Code
Code:
#Region Project Attributes
#AutoFlushLogs: True
#CheckArrayBounds: True
#StackBufferSize: 600
#End Region
'Ctrl+Click to open the C code folder: ide://run?File=%WINDIR%\System32\explorer.exe&Args=%PROJECT%\Objects\Src
Sub Process_Globals
Public Serial1 As Serial
Private wifi As ESP8266WiFi
' Dim eth As Ethernet
Private ping As ESP32Ping
End Sub
Private Sub AppStart
Serial1.Initialize(115200)
Log("AppStart")
'example of connecting to a local network
If wifi.Connect2("alive", "******") Then
Log("Connected to network ")
Log(wifi.LocalIp)
Log(wifi.Scan)
Log(ping.PingHost("https://www.****.co.za",5))
Else
Log("Failed to connect to network")
End If
End Sub