Basic blinky demo for MAX32630FTHR

Dependencies:   USBDevice pegasus_dev max32630fthr

Files at this revision

API Documentation at this revision

Comitter:
switches
Date:
Tue Dec 13 21:57:08 2016 +0000
Parent:
1:707376a2b1bc
Commit message:
Updated pegasus_dev and max32630fthr libraries

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
max32630fthr.lib Show annotated file Show diff for this revision Revisions of this file
pegasus_dev.lib Show annotated file Show diff for this revision Revisions of this file
diff -r 707376a2b1bc -r 6c7d3a687d35 main.cpp
--- a/main.cpp	Sun Nov 20 23:32:32 2016 +0000
+++ b/main.cpp	Tue Dec 13 21:57:08 2016 +0000
@@ -2,14 +2,14 @@
 #include "max32630fthr.h"
 
 DigitalOut led1(LED1);
-MAX32630FTHR pegasus(MAX32630FTHR::VIO_3V3);
+MAX32630FTHR pegasus;
 
 // main() runs in its own thread in the OS
 // (note the calls to Thread::wait below for delays)
 int main()
 {
     // initialize power and I/O on MAX32630FTHR board
-    pegasus.init();
+    pegasus.init(MAX32630FTHR::VIO_3V3);
     
     while (true) {
         led1 = !led1;
diff -r 707376a2b1bc -r 6c7d3a687d35 max32630fthr.lib
--- a/max32630fthr.lib	Sun Nov 20 23:32:32 2016 +0000
+++ b/max32630fthr.lib	Tue Dec 13 21:57:08 2016 +0000
@@ -1,1 +1,1 @@
-https://developer.mbed.org/users/switches/code/max32630fthr/#15e34492fbf1
+https://developer.mbed.org/users/switches/code/max32630fthr/#09e3dbb49561
diff -r 707376a2b1bc -r 6c7d3a687d35 pegasus_dev.lib
--- a/pegasus_dev.lib	Sun Nov 20 23:32:32 2016 +0000
+++ b/pegasus_dev.lib	Tue Dec 13 21:57:08 2016 +0000
@@ -1,1 +1,1 @@
-https://developer.mbed.org/users/switches/code/pegasus_dev/#5c4d7b2438d3
+https://developer.mbed.org/users/switches/code/pegasus_dev/#2cb9d52ef33b