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 mbed-rtos X_NUCLEO_IHM02A1
Diff: Display.cpp
- Revision:
- 31:4bb6d2cedad2
- Parent:
- 30:e464b2bb2376
diff -r e464b2bb2376 -r 4bb6d2cedad2 Display.cpp
--- a/Display.cpp Thu Apr 11 15:20:05 2019 +0000
+++ b/Display.cpp Wed Apr 17 07:55:47 2019 +0000
@@ -19,30 +19,19 @@
* PC1 (A4)(Flag_irq Steppmotor)
* PC0 (A5)(Busy_irq Steppmotor)
- PA0 (RS)
- PA1 (RW)
- PA8 (E)
- PB6 (Data0)
- PA5 (Data1)
- PA9 (Data2)
- PB10 (Data3)
- PB0 (Data4)
- PB7 (Data5)
- PB8 (Data6)
- PB9 (Data7)
**************************************************************/
-DigitalOut RS(PA_0);
-DigitalOut RW(PA_1);
-DigitalOut E(PA_8);
-DigitalOut bit0(PB_6);
-DigitalOut bit1(PA_5);
-DigitalOut bit2(PA_9);
-DigitalOut bit3(PB_10);
-DigitalOut bit4(PB_0);
-DigitalOut bit5(PC_7);
-DigitalOut bit6(PB_8);
-DigitalOut bit7(PB_9);
+DigitalOut RS(PC_3);
+DigitalOut RW(PC_2);
+DigitalOut E(PB_7);
+DigitalOut bit0(PA_15);
+DigitalOut bit1(PA_14);
+DigitalOut bit2(PA_13);
+DigitalOut bit3(PC_12);
+DigitalOut bit4(PC_10);
+DigitalOut bit5(PC_8);
+DigitalOut bit6(PC_6);
+DigitalOut bit7(PC_5);
/**************************************************************
Sendebefehls-Funktion für das Display MIDAS