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: main.cpp
- Revision:
- 4:40bb33497de4
- Parent:
- 2:61a0169765bf
- Child:
- 5:4585215afd11
diff -r e3002df380c1 -r 40bb33497de4 main.cpp --- a/main.cpp Sat Mar 02 08:35:24 2019 +0000 +++ b/main.cpp Sat Mar 23 02:18:38 2019 +0000 @@ -1,6 +1,7 @@ #include "mbed.h" #include <HX711.h> #include <eeprom.h> +#include "digitLCD.h" CAN can1(PD_0, PD_1); CAN can2(PB_5, PB_6); @@ -8,6 +9,7 @@ DigitalOut led2(LED2); //FlashIAP flashIAP; +digitLCD lcd(PA_5,PA_4,PB_5); // WO, CS, DATA #define EEPROM_ADDR 0x0 // I2c EEPROM address is 0x00 @@ -519,6 +521,9 @@ int main() { wait(1); + lcd.clear(); // clears display + lcd.allsegson(); + // lcd.printf("ABCDEFGHI"); // Standard printf function, All ASCII characters will display printf("\n\n*** RTOS basic example ***\r\n"); init_scale(); thread.start(print_thread);