Files @ 6b25c240180b
Branch filter:

Location: seniordesign-firmware/slave/slave/config.h

kripperger@CL-SEC241-09.cedarville.edu
Heater configurations
/*
 * config.h
 *
 * Created: 10/25/2012 10:00:09 PM
 *  Author: mkanning
 */


 #ifndef CONFIG_H_
 #define CONFIG_H_

 #define F_CPU 11059200				// Clock frequency (used in calculations)

#define USART0_BAUDRATE 115200
#define USART1_BAUDRATE 115200 

#define SENSOR_LOOP 100				// Frequency of sensor reads (in ms)

#define HEATER_THRESHOLD 40			// Temperature threshold in Fahrenheit where heater is activated

 //I2C Addresses
 #define EEPROM_ADDR 0xA0		// Read 0xA1 - Write 0xA0
 #define BOARDTEMP_ADDR 0x90	// Read 0x91 - Write 0x90
 #define PRESSURE_ADDR 0xB1		//THIS VALUE IS WRONG
 #define HUMID_ADDR 0xB4		//THIS VALUE IS WRONG
 #define RTC_ADDR 0xB2			//DEBUG [Used for testing]      // Read 0xA3 - Write 0xA2



 #endif /* CONFIG_H_ */