Mirror with some correction
Dependencies: mbed FastIO FastPWM USBDevice
Diff: main.cpp
- Revision:
- 113:7330439f2ffc
- Parent:
- 112:8ed709f455c0
- Child:
- 114:c2410d2cfaf1
--- a/main.cpp Thu Apr 29 19:56:49 2021 +0000 +++ b/main.cpp Wed Jun 02 02:14:27 2021 +0000 @@ -5414,7 +5414,6 @@ case PlungerType_TCD1103: // Toshiba TCD1103GFG linear CCD, optical edge detection, with // inverted logic gates. - // // Pins are: fM (master clock, PWM), OS (sample data, analog in), // ICG (integration clear gate, dig out), SH (shift gate, dig out) plungerSensor = new PlungerSensorTCD1103<true>( @@ -5428,7 +5427,8 @@ // VCNL4010 IR proximity sensor pins are: SDA, SCL plungerSensor = new PlungerSensorVCNL4010( wirePinName(cfg.plunger.sensorPin[0]), - wirePinName(cfg.plunger.sensorPin[1])); + wirePinName(cfg.plunger.sensorPin[1]), + cfg.plunger.param1); break; case PlungerType_None: