/* Copyright (c) 2007 The Information and Telecommunication Technology Center * (ITTC) at the University of Kansas * ALL RIGHTS RESERVED * * Function definitions for reading data from the Parallax Sensors * * * %Notes * * Author: Daniel Fokum, 20070529 */ /** * * @file Sensors.h * * @brief Function prototypes for reading Parallax Sensors. * ****************************************************************************/ #if !defined( SENSORS_H ) #define SENSORS_H /**< Include Guard */ /* ---- Include Files ---------------------------------------------------- */ #include #include #include #include "Hardware.h" #include "Timer.h" #include "Delay.h" //#include "UART.h" //#define F_CPU 16000000UL // 16 MHz /* ---- Constants and Types ---------------------------------------------- */ /* ---- Variable Externs ------------------------------------------------- */ /* ---- Function Prototypes ---------------------------------------------- */ uint8_t ReadPingSensor( uint8_t SensorIdx, uint16_t Dist[] ); uint8_t ReadPIRSensor( uint8_t SensorIdx, uint8_t Motion[] ); #endif /* SENSORS_H */