updated for mbed-os 5.5

Fork of Task121 by Nicholas Outram

Files at this revision

API Documentation at this revision

Comitter:
noutram
Date:
Thu Jul 16 09:47:03 2020 +0100
Parent:
10:c75a585e57a7
Child:
12:991c54e21f5f
Commit message:
updated to use onboard LED

Changed in this revision

.hgignore Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed-os.lib Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.hgignore	Thu Jul 16 09:47:03 2020 +0100
@@ -0,0 +1,3 @@
+^BUILD$
+^.mbed$
+^mbed-os$
--- a/main.cpp	Thu Jul 16 08:39:50 2020 +0000
+++ b/main.cpp	Thu Jul 16 09:47:03 2020 +0100
@@ -6,8 +6,8 @@
 #include "mbed.h"
 
 //Create a DigitalOut “object” called myled
-//Pass constant D7 as a “parameter”
-DigitalOut myled(D7);
+//Pass constant LED1 as a “parameter”
+DigitalOut myled(LED1);
 
 //The main function - all executable C / C++
 //applications have a main function. This is
--- a/mbed-os.lib	Thu Jul 16 08:39:50 2020 +0000
+++ b/mbed-os.lib	Thu Jul 16 09:47:03 2020 +0100
@@ -1,1 +1,1 @@
-https://github.com/ARMmbed/mbed-os/#165be79392ae7b1bee4388d2bc8ed8281978f07c
\ No newline at end of file
+https://github.com/ARMmbed/mbed-os/#a6207cadad0acd1876f436dc6baeddf46c42af06
\ No newline at end of file