27 lines
541 B
C
27 lines
541 B
C
/*
|
|
* main.h
|
|
*
|
|
* Created on: 03.02.2014
|
|
* Author: q242695
|
|
*/
|
|
#ifndef MAIN_H_
|
|
#define MAIN_H_
|
|
|
|
#ifndef F_CPU
|
|
#define F_CPU 8000000L
|
|
#endif
|
|
|
|
#define SCLK_PIN PA0 // SCLK pin
|
|
#define SDIN_PIN PA1 // SDIN pin
|
|
#define LCD_DC_PIN PA2 // Data/Command pin
|
|
#define LCD_CE_PIN PA3 // Chip Enable pin
|
|
#define LCD_RST_PIN PA4 // Reset pin
|
|
#define LCD_DDR DDRA // Display Port DDR
|
|
#define LCD_PORT PORTA // Display Port PORT
|
|
|
|
#include <avr/io.h>
|
|
#include <util/delay.h>
|
|
#include <avr/pgmspace.h>
|
|
|
|
#endif /* MAIN_H_ */
|