Version 3 is with update to the test rig with a linear actuator
Dependencies: SPTE_10Bar_5V mbed AS5048 SDFileSystem MODSERIAL PinDetect LCM101 LinearActuator
Diff: constants.h
- Revision:
- 11:fc82dd22a527
- Parent:
- 10:77fcbad99a31
diff -r 77fcbad99a31 -r fc82dd22a527 constants.h --- a/constants.h Mon Feb 17 15:15:24 2020 +0000 +++ b/constants.h Wed Aug 12 12:05:58 2020 +0000 @@ -36,6 +36,10 @@ //Festo digital valve (one for inflate) #define VALVE_PIN D0 +//Linear actuator +#define LINACT_DIR_PIN D5 +#define LINACT_PWM_PIN D6 + /** * Sensor settings and calibration data */ @@ -71,8 +75,11 @@ extern const int kTimeLogDataUs; // data logging extern const int TimeControlHertz; // control loop sample rate extern const int kTimeSerialPrintUs; // serial printing - + extern const int minKeyInt; //key interval time out value + extern const int kSerialBaudrate; + + extern const int PWMHertz; //Linear actuator frequency for pwm } namespace rigStructure {