We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I tried to verify example code in Arduino IDE Version 2.1.0 as per following:
#include <AIS_NB_BC95.h> String serverIP = "my.ip.add.ress"; // Your Server IP String serverPort = "myport"; // Your Server Port String udpData = "HelloWorld"; AIS_NB_BC95 AISnb; const long interval = 20000; //millisecond unsigned long previousMillis = 0; long cnt = 0; void setup() { AISnb.debug = true; Serial.begin(9600); AISnb.setupDevice(serverPort); String ip1 = AISnb.getDeviceIP(); delay(1000); pingRESP pingR = AISnb.pingIP(serverIP); previousMillis = millis(); } void loop() { unsigned long currentMillis = millis(); if (currentMillis - previousMillis >= interval) { cnt++; // Send data in String UDPSend udp = AISnb.sendUDPmsgStr(serverIP, serverPort, udpData+String(cnt)); //Send data in HexString //udpDataHEX = AISnb.str2HexStr(udpData); //UDPSend udp = AISnb.sendUDPmsg(serverIP, serverPort, udpDataHEX); previousMillis = currentMillis; } UDPReceive resp = AISnb.waitResponse(); }
But always got this error from Arduino IDE
AIS_NB_BC95.h:84:3: error: 'signal' does not name a type signal getSignal(); ^~~~~~ exit status 1 Compilation error: exit status 1
Even I try to change library version to 1.0.0 or 1.0.5. This error still occurred.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I tried to verify example code in Arduino IDE Version 2.1.0 as per following:
But always got this error from Arduino IDE
Even I try to change library version to 1.0.0 or 1.0.5. This error still occurred.
The text was updated successfully, but these errors were encountered: