Mirror with some correction
Dependencies: mbed FastIO FastPWM USBDevice
Diff: cfgVarMsgMap.h
- Revision:
- 100:1ff35c07217c
- Parent:
- 99:8139b0c274f4
- Child:
- 113:7330439f2ffc
--- a/cfgVarMsgMap.h Sat Mar 02 21:05:43 2019 +0000 +++ b/cfgVarMsgMap.h Thu Nov 28 23:18:23 2019 +0000 @@ -48,7 +48,7 @@ // ********** DESCRIBE CONFIGURATION VARIABLES ********** case 0: - v_byte_ro(21, 2); // number of SCALAR variables + v_byte_ro(22, 2); // number of SCALAR variables v_byte_ro(6, 3); // number of ARRAY variables break; @@ -204,12 +204,20 @@ break; case 21: + // TLC59116 PWM controller setup v_ui16(tlc59116.chipMask, 2); v_byte(tlc59116.sda, 4); v_byte(tlc59116.scl, 5); v_byte(tlc59116.reset, 6); break; + case 22: + // plunger raw configuration + v_ui16(plunger.cal.raw0, 2); + v_ui16(plunger.cal.raw1, 4); + v_ui16(plunger.cal.raw2, 6); + break; + // case N: // new scalar variable // // !!! ATTENTION !!!