JianYangs jian / Mbed OS FTHR_OLED

Dependencies:   Adafruit_FeatherOLED USBDevice max32630fthr pms1003

Fork of FTHR_OLED by Greg Steiert

Files at this revision

API Documentation at this revision

Comitter:
switches
Date:
Mon Feb 06 23:16:26 2017 +0000
Parent:
5:257f84271bc1
Child:
7:55708293bda8
Commit message:
Updated max32630fthr library

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
--- a/main.cpp	Mon Feb 06 22:38:15 2017 +0000
+++ b/main.cpp	Mon Feb 06 23:16:26 2017 +0000
@@ -2,7 +2,7 @@
 #include "max32630fthr.h"
 #include "USBSerial.h"
 
-MAX32630FTHR pegasus;
+MAX32630FTHR pegasus(MAX32630FTHR::VIO_3V3);
 
 // Hardware serial port over DAPLink
 Serial daplink(P2_1, P2_0);
@@ -26,7 +26,6 @@
     gLED = LED_ON;
     bLED = LED_OFF;
 
-    pegasus.init(MAX32630FTHR::VIO_3V3);    
     rLED = LED_OFF;
 
     while(1) {
--- a/max32630fthr.lib	Mon Feb 06 22:38:15 2017 +0000
+++ b/max32630fthr.lib	Mon Feb 06 23:16:26 2017 +0000
@@ -1,1 +1,1 @@
-https://developer.mbed.org/teams/MaximIntegrated/code/max32630fthr/#d524f21d1d10
+http://developer.mbed.org/teams/MaximIntegrated/code/max32630fthr/#8e424775234a