Leds - Libelium Waspmote Technical Manual

Hide thumbs Also See for Waspmote:
Table of Contents

Advertisement

3.7. LEDs

Figure: Visual indicator LEDs
Charging battery LED indicator
A red LED indicating that there is a battery connected in Waspmote which is being charged, the charging can be done
through a mini USB cable or through a solar panel connected to Waspmote. Once the battery is completely charged, the
LED switches off automatically.
LED 0 – programmable LED
A green indicator LED is connected to the microcontroller. It is totally programmable by the user from the program code. In
addition, the LED 0 indicates when Waspmote resets, blinking each time a reset on the board is carried out.
LED 1 – programmable LED
A red indicator LED is connected to the microcontroller. It is totally programmable by the user from the program code.
USB Power LED indicator
A green LED which indicates when Waspmote is connected to a compatible USB port either for battery charging or
programming. When the LED is on it indicates that the USB cable is connected correctly, when the USB cable is removed
the LED will switch off automatically.
Programming
LED0 and LED1 are programmable. The functions for handling these LEDs are
and Utils.getLED(LED_SELECTED) and Utils.blinkLEDs()
functions).
The other two LEDs switch on and off automatically according to their function.
{
Utils.setLED(LED0, LED_ON);
Utils.setLED(LED1, LED_OFF);
Utils.blinkLEDS(1000);
}
Utils.setLED(LED_SELECTED, LED_MODE)
(see the API manual for more information about these
-47-
Hardware
v6.3

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Waspmote and is the answer not in the manual?

Table of Contents