snoplus / tellie

The timing ELLIE LED calibration system
0 stars 11 forks source link

Pin read from averaging mode: undefined behaviour #9

Open mjmottram opened 11 years ago

mjmottram commented 11 years ago

Firing in sequence mode and then reading the pin before the sequence is complete is currently allowed. This should not be possible; the pin diode readout may not actually be the averaged reading (undefined behaviour). Two updates are needed:

mnirkko commented 7 years ago

I think this has been implemented. See "Waiting for sequence to finish..." type output when attempting to read the PIN values pre-emptively. Suggest closing.