ece312/lab_3/main.h
2019-10-22 12:58:18 -06:00

15 lines
319 B
C

#ifndef MAIN_H_
#define MAIN_H_
#include <avr/io.h>
#include "lcdlibrary/lcd.h"
// Comment out to run in "normal" mode
#define CALIBRATION
#define ADC_VREF 3.0
#define ADC_RESOLUTION 1023 // (2^ 10 - 1, 10 bits resolution)
#define LM35_SENSITIVITY 0.01 // V / degree C, see LM35 datasheet
#endif