Use hexiwear as a GPSIMU-AHRS for Nikon DSLR cameras
Dependencies: FXOS8700CQ FXAS21000 MBed_Adafruit-GPS-Library Hexi_OLED_SSD1351 Hexi_KW40Z Madgwick
Fork of Hexi_Blinky_Example by
Revision 18:76f4fc030036, committed 2016-08-18
- Comitter:
- whatnick
- Date:
- Thu Aug 18 23:29:27 2016 +0000
- Parent:
- 17:d30e11e60dba
- Child:
- 19:f9e9c424a41f
- Commit message:
- Offsets to work with Hexi
Changed in this revision
| Adafruit_GFX_1351.lib | 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 |
--- a/Adafruit_GFX_1351.lib Thu Aug 18 07:25:34 2016 +0000 +++ b/Adafruit_GFX_1351.lib Thu Aug 18 23:29:27 2016 +0000 @@ -1,1 +1,1 @@ -http://developer.mbed.org/teams/ELLA-Robotics-Inc/code/Adafruit_GFX_1351/#0a4bb1070fd5 +http://developer.mbed.org/teams/ELLA-Robotics-Inc/code/Adafruit_GFX_1351/#8606e2c579f1
--- a/main.cpp Thu Aug 18 07:25:34 2016 +0000
+++ b/main.cpp Thu Aug 18 23:29:27 2016 +0000
@@ -64,16 +64,21 @@
//OLED96.invert(true);
OLED96.setRotation(0);
OLED96.setTextColor(OLED96.Color565(0,255,0));
-OLED96.setTextWrap(true);
+OLED96.setTextWrap(false);
OLED96.on();
OLED96.fillScreen(BLACK);
-wait(0.5);
-OLED96.printf(" Hello from Hexi");
-OLED96.drawPixel(0,0,GREEN);
-OLED96.drawPixel(64,64,RED);
-OLED96.drawPixel(0,64,BLUE);
-OLED96.drawPixel(64,0,WHITE);
-wait(0.5);
+/*
+for(int i=0;i<128;i++)
+{
+ for(int j=0;j<128;j++)
+ {
+ OLED96.drawPixel(i,j,OLED96.Color565(0,255,0));
+ wait(0.1);
+ }
+}
+*/
+//OLED96.fillScreen(BLACK);
+OLED96.printf("Hello from Hexi");
/*
OLED96.open();
