Browse Source

sensor integration

develop
Dslak 4 years ago
parent
commit
7cb4c49294
  1. 2
      Arduino/Request.ino
  2. 2
      Arduino/Setup.ino

2
Arduino/Request.ino

@ -33,7 +33,7 @@ void sendRequest() {
// Do HTTP GET communication with 10s for the timeout (read)
uint16_t rc = sim800l->doGet(URL, 10000);
if(rc == 200) {
if(rc == 200) {
// Success, output the data received on the serial
Serial.print(F("HTTP GET successful ("));
Serial.print(sim800l->getDataSizeReceived());

2
Arduino/Setup.ino

@ -1,6 +1,6 @@
void setupModule() {
// Wait until the module is ready to accept AT commands
// Wait until the module is ready to accept AT commands
while(!sim800l->isReady()) {
Serial.println(F("Problem to initialize AT command, retry in 1 sec"));
delay(1000);

Loading…
Cancel
Save