CaryCoders / Mbed 2 deprecated demo_SX1276_standalone

Dependencies:   SX1276Lib mbed

Fork of SX1276_GPS by CaryCoders

Files at this revision

API Documentation at this revision

Comitter:
vtraveller
Date:
Sat Aug 02 11:00:33 2014 +0000
Parent:
0:88d87b1c1f8b
Child:
2:ac3b92ebf17a
Commit message:
Working flash test

Changed in this revision

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
--- a/main.cpp	Sat Dec 18 19:44:49 2010 +0000
+++ b/main.cpp	Sat Aug 02 11:00:33 2014 +0000
@@ -5,16 +5,16 @@
 DigitalOut myled2(LED2);
 
 Serial pc(USBTX, USBRX);
-I2C i2c(p9, p10);
+I2C i2c(I2C_SDA, I2C_SCL);
 
 MCP23017 mcp23017 = MCP23017(i2c, 0x40);
 
 int main() {
     
-    pc.printf("Hello World\n");
+    pc.printf("Hello World\n\r");
     
     // I2C init
-    i2c.frequency(100000);
+    i2c.frequency(400000);
     
     // Port A is databus - Output
     mcp23017.direction(PORT_A, PORT_DIR_OUT);
@@ -22,7 +22,7 @@
     mcp23017.direction(PORT_B, PORT_DIR_OUT); 
     
     myled2 = 1;
-    pc.printf("MPC Init done\n");           
+    pc.printf("MPC Init done\n\r");           
     
     while(1) {
         myled1 = 1;
--- a/mbed.bld	Sat Dec 18 19:44:49 2010 +0000
+++ b/mbed.bld	Sat Aug 02 11:00:33 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/e2ac27c8e93e
+http://mbed.org/users/mbed_official/code/mbed/builds/6213f644d804
\ No newline at end of file