Rifletool

Dependencies:   Goldelox_SerialLCD HIH6130 MPL3115A2 MPU9150_DMP NeatGUI mbed

Files at this revision

API Documentation at this revision

Comitter:
Lockdog
Date:
Tue Aug 04 07:02:25 2015 +0000
Child:
1:fd1fa09f69da
Commit message:
started

Changed in this revision

ADXL345.lib Show annotated file Show diff for this revision Revisions of this file
SSD1308_128x64_I2C.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
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ADXL345.lib	Tue Aug 04 07:02:25 2015 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/aberk/code/ADXL345/#bd8f0f20f433
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SSD1308_128x64_I2C.lib	Tue Aug 04 07:02:25 2015 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/wim/code/SSD1308_128x64_I2C/#df92b0c0cb92
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Tue Aug 04 07:02:25 2015 +0000
@@ -0,0 +1,26 @@
+#include "mbed.h"
+#include "ADXL345.h"
+#include "SSD1308.h"
+ 
+//Pin Defines for I2C Bus
+#define D_SDA                  p28
+#define D_SCL                  p27
+
+
+I2C i2c(D_SDA, D_SCL);
+DigitalOut RangeKey(p9);
+ADXL345 accelerometer(p5, p6, p7, p8);
+Serial pc(USBTX, USBRX);
+Serial RangeFinder(p13, p14);
+
+SSD1308 oled = SSD1308(i2c, SSD1308_SA0);
+
+int main() {
+    oled.writeString(0, 0, "Hello World !");
+    while(1) {
+        //myled = 1;
+        //wait(0.2);
+        //myled = 0;
+        //wait(0.2);
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Tue Aug 04 07:02:25 2015 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/bad568076d81
\ No newline at end of file