MC100
Mobile programmable gateway
MC Technologies GmbH, Kabelkamp 2, 30179 Hannover, Germany
Tel: +49511 67 69 99-0, Fax: +49511 67 69 99-150, Website & Shop: www.mc-technologies.net, Email: [email protected]
36
11.7 LEDs
LED
Description
LED 1
Green, Power supply
LED 2
Green, Configurable.
LED 3
Red, Configurable.
LED 4
Long-time Off: Searching for connection.
Long-time ON: Connected.
Flashing quickly: Packet Data transfer.
LED 5
Green, Reserved for GPS.
To configure the LEDs you need to log in to the MC100 using the Command line.
1. LED 2:
Turn ON:
root@MC100: ~# echo “on” > /sys/mc100_leds/led2/mode
Turn OFF:
root@MC100: ~# echo “off” > /sys/mc100_leds/led2/mode
Flash mode:
root@MC100: ~# echo "flash" >/sys/mc100_leds/led2/mode
Blink mode:
root@MC100: ~# echo 50 >/sys/mc100_leds/led2/blinkPeriod
Note: “50” is the time between each blinking in ms, can be set to any value.
2. LED 3:
Turn ON:
root@MC100: ~# echo “on” > /sys/mc100_leds/led1/mode
Turn OFF:
root@MC100: ~# echo “off” > /sys/mc100_leds/led1/mode
Flash mode:
root@MC100: ~# echo "flash" >/sys/mc100_leds/led1/mode
Blink mode:
root@MC100: ~# echo 50 >/sys/mc100_leds/led1/blinkPeriod
Note
: “50” is the time between each blinking in ms, can be set to any value.
3. LED 5:
Enter the following for initialization:
root@MC100: ~# echo 69 > /sys/class/gpio/export
root@MC100: ~# echo out > /sys/class/gpio/gpio78/direction
Turn ON:
root@MC100: ~# echo 1 > /sys/class/gpio/gpio78/value
Turn OFF:
root@MC100: ~# echo 0 > /sys/class/gpio/gpio78/value
2
1
3
4
5