UNPKG

pxt-maker

Version:
13 lines (11 loc) 243 B
# @extends ### #example ```sim input.leftButton.onEvent(ButtonEvent.Click, () => { }); input.rightButton.onEvent(ButtonEvent.Click, () => { }); input.temperature(TemperatureUnit.Celsius) input.lightLevel() input.acceleration(Dimension.Y) ```