ads1115 only
Fork of mbed by
Diff: InterruptManager.h
- Revision:
- 85:024bf7f99721
- Parent:
- 66:9c8f0e3462fb
- Child:
- 122:f9eeca106725
--- a/InterruptManager.h Mon May 19 18:14:09 2014 +0100 +++ b/InterruptManager.h Wed Jun 11 15:14:05 2014 +0100 @@ -13,19 +13,19 @@ * @code * #include "InterruptManager.h" * #include "mbed.h" - * + * * Ticker flipper; * DigitalOut led1(LED1); * DigitalOut led2(LED2); - * + * * void flip(void) { * led1 = !led1; * } - * + * * void handler(void) { * led2 = !led1; * } - * + * * int main() { * led1 = led2 = 0; * flipper.attach(&flip, 1.0); @@ -42,7 +42,7 @@ /** Destroy the current instance of the interrupt manager */ static void destroy(); - + /** Add a handler for an interrupt at the end of the handler list * * @param function the handler to add