Have any questions?


IoT Command Reference

5.0/5 rating (5 votes)

The JavaScript commands are used for controlling IoT devices connected to AppShed apps. The devices must be running either the AppShed Free Firmware or the AppShed Pro Firmware.



The following commands are used in your AppShed App to control the AppShed Board.

app.getPin(n) - This will return the value of pin n (n being the pin number, 0 to 39)
app.setPin(n,val) x - Set the value of pin "n" to the value "val". For digital pins, val should be 0 or 1. For analog pins, val can be 0-1024.
app.analogRead(n) x - Returns the value of analog pin n. 





Share this product

appshed name white text 250

Copyright © 2022 AppShed Limited

AppShed Support
Customer Support

We are online and available to help teachers/educators using AppShed. How can we help you today?

Chat, call or email support@appshed.com