PYLD_CDMS

Dependencies:   mbed

Fork of PLYD_CDMS24 by Siva ram

Files at this revision

API Documentation at this revision

Comitter:
Piasiv1206
Date:
Sat Feb 27 07:16:16 2016 +0000
Parent:
5:f22f960f804b
Commit message:
hello;

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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();