We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b0fca1 commit 1bbc409Copy full SHA for 1bbc409
examples/Sensors/Photoresistor/Photoresistor.ino
@@ -45,5 +45,5 @@ void loop()
45
// This function is called at intervals to send sensor data to Cayenne.
46
CAYENNE_OUT(VIRTUAL_CHANNEL)
47
{
48
- Cayenne.virtualWrite(VIRTUAL_CHANNEL, analogRead(SENSOR_PIN), "lum", "lux");
+ Cayenne.virtualWrite(VIRTUAL_CHANNEL, analogRead(SENSOR_PIN), "analog_sensor", "null");
49
}
0 commit comments