Mercurial > hg > beaglert
annotate projects/d-box/sensors.h @ 184:9108a0a34cb8
Better(non ideal) monophonic behaviour of the basic midi implementation. Would require to remember what notes are being held down and release either the most recent or low/high priority.
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Sun, 17 Jan 2016 21:56:13 +0000 |
parents | 901d205d1a3c |
children |
rev | line source |
---|---|
andrewm@0 | 1 /* |
andrewm@0 | 2 * sensors.h |
andrewm@0 | 3 * |
andrewm@0 | 4 * Created on: May 28, 2014 |
andrewm@0 | 5 * Author: Victor Zappi |
andrewm@0 | 6 */ |
andrewm@0 | 7 |
andrewm@0 | 8 #ifndef SENSORS_H_ |
andrewm@0 | 9 #define SENSORS_H_ |
andrewm@0 | 10 |
andrewm@0 | 11 #include "config.h" |
andrewm@0 | 12 |
andrewm@15 | 13 int initSensorLoop(int sensorAddress0, int sensorAddress1, int sensorType); |
andrewm@0 | 14 |
andrewm@0 | 15 void sensorLoop(void *); |
andrewm@0 | 16 void *keyboardLoop(void *); |
andrewm@0 | 17 |
andrewm@0 | 18 |
andrewm@0 | 19 #endif /* SENSORS_H_ */ |