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.
Diff: setting.h
- Revision:
- 17:1865016ca2e7
- Parent:
- 16:903b5a4433b4
- Child:
- 18:b8adf1582ea3
--- a/setting.h Mon Sep 02 13:32:33 2019 +0000 +++ b/setting.h Tue Sep 03 11:59:55 2019 +0000 @@ -108,9 +108,9 @@ extern uint8_t SETTING_SWITCH_OLD; extern uint8_t REFERENCE_MODE; extern uint16_t CAN_FREQ; -extern uint8_t DIR_JOINT_ENC; -extern uint8_t DIR_VALVE; -extern uint8_t DIR_VALVE_ENC; +extern int16_t DIR_JOINT_ENC; +extern int16_t DIR_VALVE; +extern int16_t DIR_VALVE_ENC; extern double SUPPLY_VOLTAGE; extern double VALVE_VOLTAGE_LIMIT; @@ -235,7 +235,7 @@ extern int VALVE_INPUT_PWM; extern double VALVE_GAIN_LPM_PER_V[10]; -extern double VALVE_POS_VS_PWM[18]; +extern double VALVE_POS_VS_PWM[25]; extern long JOINT_VEL[100]; extern int VALVE_MAX_POS;