PYLD_CDMS

Dependencies:   mbed

Fork of PLYD_CDMS24 by Siva ram

Revision:
6:090151fca074
Parent:
5:f22f960f804b
--- a/main.cpp	Sun Dec 13 12:59:49 2015 +0000
+++ b/main.cpp	Sat Feb 27 07:16:16 2016 +0000
@@ -101,7 +101,7 @@
     uint16_t CRC_VALUE = 0 ;
     
     pia1[0]    = 123  ;
-    pia1[1]    = 0x3F ;
+    pia1[1]    = 0xff ;
     pia1[2]    = 0x81 ;
     pia1[3]    = 0xD0 ;
     pia1[4]    = 0x00 ;
@@ -138,7 +138,7 @@
         {
             return (9);
         }
-        if ( siv[3] == 192 )
+        if ( siv[3] == 160 )
         {
             check ++ ;
         }
@@ -281,6 +281,7 @@
     PYLD_I2C_Int.rise(&readds);
     INIT_TC_TEMP();
     
+    
     while(1)
     {
     FUNC_MASTER_WRITE();