You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
580 B

/* Anschlüsse sind:
* B0 - LCD (RS)
* B1 - Kontrast-PWM
* B2 - Backlight-PWM
* B3-B5 - ISP/SPI
* C0-5 - LCD (DB4-7, R/W, EN)
* D2,D4 - USB
* D7 - SPI (SS master)
*
*/
#ifndef __MAIN_H
#define __MAIN_H
#include <stdint.h>
static uint8_t newThermoData = 1;
static uint16_t thermoData[] = {1024, 814, 2475, 2243};
volatile uint16_t timer1_acc;
#define LED1PORT PORTC
#define LED1APIN 0
#define LED1BPIN 1
#define LED2PORT PORTC
#define LED2PIN 2
#define LED3PORT PORTD
#define LED3PIN 7
#define BACKLIGHTPORT PORTB
#define BACKLIGHTPIN 2
#endif //__MAIN_H