setProperty(id, property, value)
led.on()
led.off()
led.blink(interval);
led.pulse(interval);
led.toggle()
onBoardEvent(component, event, function(event) {...});
toggleSwitch
toggleSwitch.isOpen
button(L/R)
buttonL.isPressed
getProperty(id, property)
soundSensor
soundSensor.value
soundSensor.setScale(min, max)
lightSensor
tempSensor
colorLeds
colorLeds[index].on()
colorLeds[index].blink(interval)
colorLeds[index].intensity(brightness)
colorLeds[index].color(color)
list[index];
buzzer.note(note, duration)
buzzer.playNotes(array, tempo)
list.length
var list = ["a","b","d"];
for(var i=0; i<4; i++){ //code }
function myFunction(n){ //code }
Call a function with parameters
accelerometer.getOrientation()
pinMode(pin, mode);
digitalWrite()
var myLed = createLed(pin);
var myButton = createButton(pin);