Sungwoo Kim
/
HydraulicControlBoard_Rainbow_v1_2_copy1
2011
Diff: CAN/function_CAN.cpp
- Revision:
- 15:bd0d12728506
- Parent:
- 14:8e7590227d22
- Child:
- 16:903b5a4433b4
diff -r 8e7590227d22 -r bd0d12728506 CAN/function_CAN.cpp --- a/CAN/function_CAN.cpp Thu Aug 29 07:38:00 2019 +0000 +++ b/CAN/function_CAN.cpp Fri Aug 30 02:26:11 2019 +0000 @@ -119,9 +119,9 @@ //pc.printf("can middle %d\n", request_type); // if (flag_data_request[1] == HIGH) SPI_VREF_DAC_WRITE(PRES_A_VREF, PRES_B_VREF, TORQUE_VREF, 0); // set DAC - if (flag_data_request[1] == HIGH) dac_1 = PRES_A_VREF/3.3; + //if (flag_data_request[1] == HIGH) dac_1 = PRES_A_VREF/3.3; // if (flag_data_request[2] == HIGH) SPI_VREF_DAC_WRITE(PRES_A_VREF, PRES_B_VREF, TORQUE_VREF, 0); // set DAC - if (flag_data_request[2] == HIGH) dac_2 = PRES_B_VREF/3.3; + //if (flag_data_request[2] == HIGH) dac_2 = PRES_B_VREF/3.3; break; }