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:
- 13:91a699eae3ea
- Parent:
- 12:9d099f3d2a3b
- Child:
- 14:ea348a58cdf6
--- a/board.h Thu Dec 06 09:09:02 2018 +0000 +++ b/board.h Thu May 09 07:42:21 2019 +0000 @@ -3,11 +3,6 @@ #include "PS4Serial.h" #include "cerica2.h" -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); - const PinName GPIO[13] = { PC_9, PA_5, @@ -24,6 +19,14 @@ PB_2 }; + +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)}; +I2C i2c(PB_9,PB_8); +//SB1602E lcd(i2c,"CERICA2\nHello!"); +PS4Serial PS4(PA_9,PA_10); + + + DigitalOut LED[5] = { PA_15, PB_7, PC_13, PC_2, PC_3 };