Skip to content

Commit bbe1a40

Browse files
committed
Fixed issue with ControlLedBuiltIn example & version bump
1 parent 604d272 commit bbe1a40

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/ControlLedBuiltIn/ControlLedBuiltIn.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ void setup() {
3131
device.debugPort(Serial); // Set AllThingsTalk library to output its debug to "Serial"
3232
device.connectionLed(false); // Disable the Connection LED feature because we're going to control that exact LED
3333
device.setActuationCallback(asset, actuation); // "asset" - Variable we defined above, "actuation" - Name of the function below that does the work
34-
device.createAsset("builtin-led-example", "Built-In LED (SDK Example)", "sensor", "boolean"); // Create asset on your AllThingsTalk to control the LED
34+
device.createAsset("builtin-led-example", "Built-In LED (SDK Example)", "actuator", "boolean"); // Create asset on your AllThingsTalk to control the LED
3535
device.init(); // Initialize AllThingsTalk
3636
}
3737

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=AllThingsTalk WiFi SDK
2-
version=2.1
2+
version=2.1.1
33
author=AllThingsTalk <[email protected]>
44
maintainer=Vanja <[email protected]>
55
sentence=Connect and control your device with AllThingsTalk

0 commit comments

Comments
 (0)