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.
Dependencies: mbed FastIO FastPWM USBDevice
Fork of Pinscape_Controller by
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: