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 f9c890c commit 5b0fca1Copy full SHA for 5b0fca1
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));
49
-}
+ Cayenne.virtualWrite(VIRTUAL_CHANNEL, analogRead(SENSOR_PIN), "lum", "lux");
+}
0 commit comments