forkd

Dependencies:   mbed

Fork of LGstaandart by Dmitry Kovalev

Revision:
226:4a4d5bd5fcd7
Parent:
225:f8fee6c586cc
Child:
231:079835d508ef
--- a/vibro.h	Tue Dec 12 05:53:39 2017 +0000
+++ b/vibro.h	Tue Dec 26 05:14:09 2017 +0000
@@ -33,9 +33,17 @@
 ////Дефайны для декодирования запроса параметров Rate///
 ////////////////////////////////////////////////////////
    #define   Delta_500   0x20
+   #define   Delta_EXT   0x0
+   
+   #define  Delta_PS_INT   0x80
+   #define  Delta_PS_EXT   0x0
+   
+   
+   
    #define  PDelta_500   0x90
-   #define   Delta_EXT   0x0
    #define  PDelta_EXT   0x10
+   
+   
    #define   Delta_Bins  0x0
    #define  PDelta_Bins  0x1
    
@@ -264,7 +272,7 @@
 		   unsigned int CRC;														//59 контрольная сумма посылки
 		   unsigned int Firmware_Version; 											//60 версия программы
 		   unsigned int RsErrLine;         											//61 регистр ошибок передачи.
-		    
+		   unsigned int Device_Mode;
 		   int CuruAngle;	
 		   int CuruAngle32;																//62 текущеий угол.
 		   int CuruAngle64;