view projects/d-box/sensors.h @ 16:670be80463a3 matrix_gpio

- analog matrixIn/matrixOut are now mapped as floats from 0 to 1 - use of an external PRU code can be enabled with -P <filename> - 16 channels of programmable GPIO can be accessed straight from render() either writing directly to the matrixGpio[] array or using digitalWrite(), digitalRead(), setDigitalDirection() macros from Utilities.h .
author Giulio Moro <giuliomoro@yahoo.it>
date Mon, 27 Apr 2015 13:01:57 +0100
parents 901d205d1a3c
children
line wrap: on
line source
/*
 * sensors.h
 *
 *  Created on: May 28, 2014
 *      Author: Victor Zappi
 */

#ifndef SENSORS_H_
#define SENSORS_H_

#include "config.h"

int initSensorLoop(int sensorAddress0, int sensorAddress1, int sensorType);

void sensorLoop(void *);
void *keyboardLoop(void *);


#endif /* SENSORS_H_ */