Simple 6-LED bar library. Provides some useful functions.
Simple 6 leds bar library. It allows you to control individual leds, and provides masks.
Diff: 6LedBar.h
- Revision:
- 4:ecb39b6f0e18
- Parent:
- 3:bb53fa90af91
--- a/6LedBar.h Sun May 21 14:29:24 2017 +0000 +++ b/6LedBar.h Sun May 21 14:59:47 2017 +0000 @@ -30,7 +30,7 @@ * * Example using on, off, toggle methods: * -*@code +* @code * * #include "mbed.h" * #include "6LedBar.h" @@ -52,13 +52,13 @@ * } * * -*@endcode +* @endcode * * * * * * * * * * * * * * * * * * * * * * * * * * * * Example using mask methods: * -*@code +* @code * * #include "mbed.h" * #include "6LedBar.h" @@ -68,7 +68,7 @@ * * int main() { * -* leds.on_mask(0b010101); +* leds.set_mask(0b010101); * * while(true) { * leds.toggle_mask(0b111111); @@ -76,7 +76,7 @@ * } * } * -*@endcode +* @endcode * **/