Albert-Jan Knevels / Mbed 2 deprecated CherryStone

Dependencies:   mbed

Revision:
15:963d229367f6
Parent:
14:68623bf5de94
Child:
16:62feeff507d5
diff -r 68623bf5de94 -r 963d229367f6 main.cpp
--- a/main.cpp	Wed Sep 24 12:45:51 2014 +0000
+++ b/main.cpp	Thu Sep 25 07:17:12 2014 +0000
@@ -8,7 +8,16 @@
   °°°°°°°°°  °°°° °°°°°  °°°°°°  °°°°°     °°°°°       °°°°°ÛÛÛ  °°°°°°°°°     °°°°°   °°°°°°  °°°° °°°°°  °°°°°°
                                                        ÛÛÛ °ÛÛÛ
                                                       °°ÛÛÛÛÛÛ
+ 
                                                       °°°°°°*/
+                                                      
+//TODO:
+/*
+1. include I am alive - to check if connecting w/ the mbed was succesfull
+2. include a watch dog system for unconditional errors --> auto reset
+*/
+                                                      
+                                                      
 #include "mbed.h"
 #include "MLX90393.h"
 int main()
@@ -27,7 +36,7 @@
     SPI spi(p5, p6, p7);
     spi.format(MLX90393::spi_bits,MLX90393::spi_mode);
     spi.frequency(100000000);
-    MLX90393 sensor(p21,&spi);
+    MLX90393 sensor(p26,&spi);
 
     //variables
     char read_buffer[11];