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.
Diff: Input/Rotaryencoder/Rotaryencoder.cpp
- Revision:
- 16:3f2c2d89372b
- Parent:
- 15:dfcec98f5aa9
- Child:
- 17:50dc4b449e69
diff -r dfcec98f5aa9 -r 3f2c2d89372b Input/Rotaryencoder/Rotaryencoder.cpp
--- a/Input/Rotaryencoder/Rotaryencoder.cpp Sun Oct 21 02:14:15 2018 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-#include "Rotaryencoder.h"
-#include "mbed.h"
-
-#include "../../System/Process/InterruptProcess.h"
-
-InterruptIn BoardRt[] = {
- InterruptIn(RT11_PIN),
- InterruptIn(RT12_PIN),
-
- InterruptIn(RT21_PIN),
- InterruptIn(RT22_PIN),
-};
-
-namespace ROTARYENCODER {
- void Rot::Initialize() {
- BoardRt[0].mode(PullUp);
- BoardRt[1].mode(PullUp);
- BoardRt[2].mode(PullUp);
- BoardRt[3].mode(PullUp);
-
- BoardRt[0].fall(int2);
- BoardRt[1].fall(int3);
- BoardRt[2].fall(int4);
- BoardRt[3].fall(int5);
- }
-}
\ No newline at end of file