Data Sheet
dScript
dScript User Manual v2.15
LED indication
The dS1242 provides a red LED mounted immediately next to each relay to indicate whether it
is in a powered state (LED on), there are also two LED's mounted in the Ethernet connector
which will flash with Ethernet traffic. A row of three LEDs, Blue, Green and Red, are available
for status indication. The Red LED lights when the module is in bootloader mode – this is when
the IDE is uploading system firmware to the module. The Green LED lights the board begins
running user programs. All three LEDs are available and can be controlled as digitalports 32-
34.
digitalport LedBlue 32
digitalport LedGreen 33
digitalport LedRed 34
The “FlashingLeds” example provides a colourful display showing how to use them.
Copyright © 2016, Devantech Ltd.
All rights reserved.
www.robot-electronics.co.uk
58