Skip to content

Commit ff53d26

Browse files
91voltper1234
andauthored
Update content/hardware/09.kits/maker/nesso-n1/tutorials/user-manual/content.md
Co-authored-by: Per Tillisch <accounts@perglass.com>
1 parent 26815a6 commit ff53d26

File tree

1 file changed

+1
-1
lines changed
  • content/hardware/09.kits/maker/nesso-n1/tutorials/user-manual

1 file changed

+1
-1
lines changed

content/hardware/09.kits/maker/nesso-n1/tutorials/user-manual/content.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ Because "Manual Devices" do not automatically generate a downloadable sketch, yo
153153
WiFiConnectionHandler ArduinoIoTPreferredConnection(SECRET_WIFI_SSID, SECRET_WIFI_PASS);
154154

155155
void initProperties(){
156-
ArduinoCloud.addProperty(led, READWRITE, ON_CHANGE, onLedChange);
156+
ArduinoCloud.addProperty(led, Permission::ReadWrite).onUpdate(onLedChange);
157157
158158
ArduinoCloud.setBoardId(SECRET_DEVICE_ID);
159159
ArduinoCloud.setSecretDeviceKey(SECRET_DEVICE_KEY);

0 commit comments

Comments
 (0)