diff --git a/examples/ControlLedBuiltIn/ControlLedBuiltIn.ino b/examples/ControlLedBuiltIn/ControlLedBuiltIn.ino index 5b71efb..596a568 100644 --- a/examples/ControlLedBuiltIn/ControlLedBuiltIn.ino +++ b/examples/ControlLedBuiltIn/ControlLedBuiltIn.ino @@ -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 } diff --git a/library.properties b/library.properties index 1a87ea1..20a20ea 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=AllThingsTalk WiFi SDK -version=2.1 +version=2.1.1 author=AllThingsTalk maintainer=Vanja sentence=Connect and control your device with AllThingsTalk