view projects/d-box/sensors.h @ 45:579c86316008 newapi

Major API overhaul. Moved to a single data structure for handling render functions. Functionally, generally similar except for scheduling within PRU loop function, which now uses interrupts from the PRU rather than polling. This requires an updated kernel.
author andrewm
date Thu, 28 May 2015 14:35:55 -0400
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_ */