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.
Dependencies: mbed ros_lib_kinetic
Diff: interrupts.cpp
- Revision:
- 0:3a767f41cf04
- Child:
- 1:1ac7d472cfa2
diff -r 000000000000 -r 3a767f41cf04 interrupts.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/interrupts.cpp Wed Jan 31 05:24:12 2018 +0000
@@ -0,0 +1,22 @@
+
+#include <definitions.h>
+
+void hallInterrupt(){
+
+ liftFlag = 1;
+}
+
+void motorInterrupt(){
+
+ motorFlag = 1;
+}
+
+void imuInterrupt(){
+
+ imuFlag = 1;
+}
+
+void rosInterrupt(){
+
+ rosFlag = 1;
+}