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: ST7032 QEI PS4Serial
Diff: board.h
- Revision:
- 17:fa2c87e5c5c7
- Parent:
- 14:ea348a58cdf6
- Child:
- 18:aa0c973d8551
--- a/board.h Fri Sep 13 03:28:43 2019 +0000
+++ b/board.h Wed Oct 09 07:55:11 2019 +0000
@@ -20,7 +20,7 @@
};
-QEI Enc[3] = {QEI(PC_6, PC_5, PC_8, 360), QEI(PA_11, PB_12, PA_12, 360),QEI(GPIO[12], GPIO[11],GPIO[10],360)};
+QEI Enc[2] = {QEI(PC_6, PC_5, PC_8, 360), QEI(PA_11, PB_12, PA_12, 360)};
I2C i2c(PB_9,PB_8);
//SB1602E lcd(i2c,"CERICA2\nHello!");
PS4Serial PS4(PA_9,PA_10);
@@ -31,7 +31,7 @@
PA_15, PB_7, PC_13, PC_2, PC_3
};
-DigitalIn SW[4] {
+DigitalIn SW[4] = {
PC_0, PC_1, PB_0,PA_4
};