Hi,
I found strange behaviour concerning Ethernet lib (5100).
Previos I came from CAyenne and have installed now both BLYNK (04.10) and CAYENNE (1.02) libs (Cayenne includes Blynk libs…). haveing both installed parallel the compiler gives some wanings. So I deleted the CAYENNE one. Now the Arduino crashes all the time when I press a button on the app. (indicating by reboot showing the 0.4.10 logo on serial output, so I know the 0.4.10 was used)
copying the CAYENNE back to lib folder it works again.
Has anybody an explanation ?
Use one or the other, not both, on a clean installation of the IDE. (Hint, Cayenne is just a poor clone of Blynk )
I set up a clean installation but with BLYNK my Arduino resets all time after I press a button !
here some snaps…
void setup()
{
// Debug console
Serial.begin(57600); // IF no PC
Serial1.begin(9600); // IF to external
pinMode(SDCARD_CS, OUTPUT);
digitalWrite(SDCARD_CS, HIGH); // Deselect the SD card
Blynk.begin(auth);
timer.setInterval(800,DelButton);
}
//******************************************************
BLYNK_WRITE(VIRTUAL_PIN_V5) // PRESS BUTTON
{
int currentValue = param.asInt();
if (lock == 20){
if (currentValue ==1){
Serial.println("BUTTON pressed");
RS232_tx_bin(room, 5, 53 );
delay(500);
}
}
}
did some investigations: The route cause seems to be the LCDwidget- if I remove it from the code its OK …
Any advice here ?