Practical Robotics Modular Robot Library
Diff: led.h
- Revision:
- 3:8762f6b2ea8d
- Parent:
- 1:a6728adaf7e7
- Child:
- 4:c2e933d53bea
diff -r bf34b86aa0f3 -r 8762f6b2ea8d led.h --- a/led.h Sat Nov 26 21:50:10 2016 +0000 +++ b/led.h Mon Nov 28 22:41:14 2016 +0000 @@ -27,6 +27,11 @@ int init_led_driver(void); /** + * Set the brightness of all case LEDs to zero + */ + void all_off(void); + + /** * * Set an individual green led to the brightness specified * @@ -48,6 +53,11 @@ * Start a ticker-based simple routine that cycles through the LEDs for testing */ void start_test(void); + + /** + * Stops the ticker-based routine + */ + void stop_test(void); /** * The ticker loop for a simple routine that cycles through the LEDs for testing