Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of LG by
Diff: Command.c
- Revision:
- 116:66f1f0ff2dab
- Parent:
- 115:e5a230e5af52
- Child:
- 119:4d7fcece9e8e
diff -r e5a230e5af52 -r 66f1f0ff2dab Command.c
--- a/Command.c Tue Apr 05 10:31:28 2016 +0000
+++ b/Command.c Tue Apr 05 16:52:31 2016 +0000
@@ -155,7 +155,7 @@
BuffTemp[24] = 0x00;
BuffTemp[25] = 0x00;// ХЗ
- Temp = Gyro.AD_Fast >> 16;
+ Temp = Gyro.PLC_Delta >> 16;
BuffTemp[26] = (Temp >> 8) & 0xff;
BuffTemp[27] = (Temp >> 0) & 0xff;
@@ -175,7 +175,7 @@
BuffTemp[34] = (Temp >> 8) & 0xff;//дельта
BuffTemp[35] = (Temp >> 0) & 0xff;
- Temp = ((Gyro.Termo)/0xa4)-0x111;//0xa4=164
+ Temp = Gyro.Termo;//0xa4=164
BuffTemp[36] =(Temp >> 8) & 0xff;//температура
BuffTemp[37] =(Temp >> 0) & 0xff;//ADC6 sesnsor 5
