TINKER PIEDESIGN IN INDIA

LED module with TinkerPie

A single bright LED with its resistor.

TypeOutputs and actuators
Connect toany accessory pin
Giveson / off or 0-100 %
SimulatorYes: a control appears under the simulated board

How to wire it

Signal pin to S1-S4 or P10-P13. Motors, pumps and lamps always go through the relay or a driver module, never straight to a pin.

Code

In blocks: Accessories category in TinkerPie Studio. As code:

// JavaScript
outputs.led(Pin.S1, true)
outputs.ledBrightness(Pin.S1, 40)

// Arduino C++
outputs::led(Pin::S1, true)
outputs::ledBrightness(Pin::S1, 40)

Try it in TinkerPie Studio

Similar modules