Reads out EMG data and filters this to be used as input for the PID controller.

Dependencies:   HIDScope mbed biquadFilter

Changes

RevisionDateWhoCommit message
17:a28ee8aee307 2017-11-06 s1589504 Final working version. default tip
16:4cca34567c47 2017-11-02 s1589504 Working version, hidscope disabled.
15:f7b740fe52f4 2017-11-02 s1589504 Working version, with hidscope enabled.
14:c2153a0c0197 2017-11-02 s1589504 Probably final, working version.
13:a8f10aa4ee69 2017-11-01 s1589504 outputs six digital binary values combined to two binary outputs and two ternary outputs.
12:8de5ee0def32 2017-10-31 s1589504 Not working, attempt at output via pwm.
11:1ed5174118af 2017-10-23 s1589504 reads out and returns output values to hidscope for four emg shields.
10:d417801501fc 2017-10-21 s1589504 Ugly but works.
9:600830a49fbd 2017-10-21 s1589504 Functional code to control the colour of a led and the output value of a scope.
8:8300550b42b9 2017-10-21 s1589504 Outputs identical among all channels. Error unknown at this moment.
7:40d10c71d629 2017-10-20 s1589504 Code is complete. However, all channels give near identical outputs.
6:00677f2e78ad 2017-10-19 s1589504 Calibration sequence not complete; untested, but should work.
5:fb38ca3291a1 2017-10-19 s1589504 Filtered signal to control the colour of a led.
4:02ecfd9f57d8 2017-10-13 s1589504 Working notch filter, high pass filter, full wave rectifier, and low pass filter. Not optimized. This should be done in Matlab.
3:b653359904a3 2017-10-13 s1589504 Added notch and high pass filter. Biquads not optimized. Only outputs zeroes currently.
2:665342ca1247 2017-10-09 s1589504 data readout somewhat works; low pass filter does not work, but breaks the data readout.
1:7e24e1a39fa0 2017-10-09 s1589504 Reads out EMG data, sends it to a scope, and stores this in an array.
0:5f6b0370d7f4 2017-10-09 s1589504 First iteration (does not work yet)