Skip to content

Commit 1bbc409

Browse files
authored
Update Photoresistor.ino
1 parent 5b0fca1 commit 1bbc409

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/Sensors/Photoresistor/Photoresistor.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,5 @@ void loop()
4545
// This function is called at intervals to send sensor data to Cayenne.
4646
CAYENNE_OUT(VIRTUAL_CHANNEL)
4747
{
48-
Cayenne.virtualWrite(VIRTUAL_CHANNEL, analogRead(SENSOR_PIN), "lum", "lux");
48+
Cayenne.virtualWrite(VIRTUAL_CHANNEL, analogRead(SENSOR_PIN), "analog_sensor", "null");
4949
}

0 commit comments

Comments
 (0)