Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of Bertl by
Diff: ur_Bertl.h
- Revision:
- 17:308802267a62
- Parent:
- 16:9ec833d98d0d
- Child:
- 18:8bfd7ecd2795
--- a/ur_Bertl.h Thu Nov 12 09:05:05 2015 +0000
+++ b/ur_Bertl.h Thu Nov 12 19:05:56 2015 +0000
@@ -133,6 +133,7 @@
int16_t btns; /**< which button is pressed */
InterruptIn _interrupt; /**< interrupted used*/
volatile int _count; /**< values of motor sensor*/
+ int16_t leds; /**< save led status*/
/**
protected methodes for internal purposes only
@@ -166,6 +167,8 @@
void BlueLedsOFF(); /**< OFF all blue LEDs which are on the same Port 1_28 */
void BlueLedsON(); /**< ON all blue LEDs which are on the same Port 1_28 */
int Read();
+ bool IsLedOn(const int led);
+
};
/********************************************//**
name: Bertl.h \n
