forked from achamaikin/CCSModuleSW30Web
beta version
This commit is contained in:
@@ -143,6 +143,9 @@ void parse_command(uint8_t* buffer, size_t length) {
|
||||
break;
|
||||
|
||||
}
|
||||
} else if (strncmp((const char*)buffer, "temp", length) == 0) {
|
||||
printf("temp1 %d\n",GBT_ReadTemp(0));
|
||||
printf("temp2 %d\n",GBT_ReadTemp(1));
|
||||
} else if (strncmp((const char*)buffer, "info1", length) == 0) {
|
||||
printf("Battery info:\n");
|
||||
printf("maxCV %dV\n",GBT_BATStat.maxCellVoltage/100); // 0.01v/bit
|
||||
@@ -193,6 +196,7 @@ void parse_command(uint8_t* buffer, size_t length) {
|
||||
printf("stop\n");
|
||||
printf("stop1\n");
|
||||
// printf("force\n");
|
||||
printf("temp\n");
|
||||
printf("info1\n");
|
||||
printf("info2\n");
|
||||
printf("info3\n");
|
||||
|
||||
Reference in New Issue
Block a user