synch the camera trigger with the signal in phase and quadrature (every frame or every N frames). We can also simulate the product by the in-phase signal (with a small arbitrary phase difference)

Dependencies:   mbed

Committer:
mbedalvaro
Date:
Mon Jul 14 09:35:12 2014 +0000
Revision:
0:4b5874bff9bb
this works very well. A VERY small jitter remains... no idea why. Also, not very happy with all the static member variables... looks like they just needed to be globals...

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbedalvaro 0:4b5874bff9bb 1 #include "Flipper.h"
mbedalvaro 0:4b5874bff9bb 2
mbedalvaro 0:4b5874bff9bb 3 bool Flipper::multiplier=true; // this is for simulating the deconvolution
mbedalvaro 0:4b5874bff9bb 4 bool Flipper::state=true;
mbedalvaro 0:4b5874bff9bb 5 DigitalOut Flipper::_pin=ledPin;