have a look at this article to connect your arduino to cayenne using a esp8266 shield.
once connected use:
CAYENNE_OUT(1)
{
Cayenne.virtualWrite(1, x);
}
where x stores the value from the sensor.
have a look at this article to connect your arduino to cayenne using a esp8266 shield.
once connected use:
CAYENNE_OUT(1)
{
Cayenne.virtualWrite(1, x);
}
where x stores the value from the sensor.