808

Dependents:   Chromatograph_Mobile

Revision:
2:09948f1c22bc
Parent:
1:b456fe5494fe
Child:
3:fe564cf39107
--- a/LT1446.cpp	Sat Aug 08 18:23:07 2020 +0000
+++ b/LT1446.cpp	Tue Aug 11 19:12:58 2020 +0000
@@ -23,9 +23,9 @@
     LT1446_MEM.DACA=chip->dacA.Code;
     LT1446_MEM.DACB=chip->dacB.Code;
     Cs=0;
-    TED2.write(LT1446_MEM.b3);    
+    TED2.write(LT1446_MEM.b3);
     TED2.write(LT1446_MEM.b2);
-    TED2.write(LT1446_MEM.b1);    
+    TED2.write(LT1446_MEM.b1);
     Cs=1;
 }
 void LTCwrite(LT1446_t *chip)
@@ -39,7 +39,7 @@
         DOUT=chip->dacB.Code&(1<<b);
         CLK=1;
         DOUT=0;
-        CLK=0;        
+        CLK=0;
     }
     /*Канал А */
     b=12;
@@ -50,6 +50,7 @@
         DOUT=0;
         CLK=0;        
     }
+    Cs=1;
 }