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.
Revision 2:a6025c5ce99e, committed 2017-08-28
- Comitter:
- odb
- Date:
- Mon Aug 28 00:50:05 2017 +0000
- Parent:
- 1:f669e4e75a21
- Commit message:
- CORE-1000_TEXT_LCD
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Feb 03 08:05:39 2017 +0000
+++ b/main.cpp Mon Aug 28 00:50:05 2017 +0000
@@ -1,11 +1,19 @@
#include "mbed.h"
#include "TextLCD.h"
+DigitalOut mybuzzer(PC_4);
+PwmOut mypwmR(PB_5);
+PwmOut mypwmG(PB_3);
+PwmOut mypwmB(PA_10);
+BusOut motor(PB_13, PB_14, PB_15, PB_1);
+DigitalOut myled[4] = { PC_9, PB_2, PC_2, PC_3};
- TextLCD lcd(PC_6,PC_8,PC_5,PC_0,PA_12,PA_11,PB_12);
+ //TextLCD lcd(PC_6,PC_8,PC_5,PC_0,PA_12,PA_11,PB_12); // port change 20170220
+ TextLCD lcd(PC_6,PC_8,PC_5,PC_0,PB_7,PC_13,PB_12);
+
int main()
{
lcd.gotoxy(1,1);
- lcd.printf("Hello BUSAN KOPO");
+ lcd.printf("Hello!!");
lcd.gotoxy(1,2);
lcd.printf("CORE ONE Tech...");