Skip to content

Commit

Permalink
Fixed issue with ControlLedBuiltIn example & version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
epiller committed Jan 25, 2021
1 parent 604d272 commit bbe1a40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/ControlLedBuiltIn/ControlLedBuiltIn.ino
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ void setup() {
device.debugPort(Serial); // Set AllThingsTalk library to output its debug to "Serial"
device.connectionLed(false); // Disable the Connection LED feature because we're going to control that exact LED
device.setActuationCallback(asset, actuation); // "asset" - Variable we defined above, "actuation" - Name of the function below that does the work
device.createAsset("builtin-led-example", "Built-In LED (SDK Example)", "sensor", "boolean"); // Create asset on your AllThingsTalk to control the LED
device.createAsset("builtin-led-example", "Built-In LED (SDK Example)", "actuator", "boolean"); // Create asset on your AllThingsTalk to control the LED
device.init(); // Initialize AllThingsTalk
}

Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=AllThingsTalk WiFi SDK
version=2.1
version=2.1.1
author=AllThingsTalk <[email protected]>
maintainer=Vanja <[email protected]>
sentence=Connect and control your device with AllThingsTalk
Expand Down

0 comments on commit bbe1a40

Please sign in to comment.