28 lines
609 B
C
28 lines
609 B
C
/*
|
|
* main.h
|
|
*
|
|
* Created on: 27.01.2014
|
|
* Author: q242695
|
|
*/
|
|
|
|
#ifndef MAIN_H_
|
|
#define MAIN_H_
|
|
|
|
#ifndef F_CPU
|
|
#define F_CPU 20000000
|
|
#endif
|
|
|
|
//#define m168p // Processor selection for serial adjustments
|
|
//#define OLED_Serial // Digole OLED display, serial protocol
|
|
#define OLED_SPI // Digole OLED display, SPI protocol
|
|
#define SS_PIN PD0 // SS pin
|
|
#define SCLK_PIN PD1 // SCLK pin
|
|
#define SDIN_PIN PD2 // SDIN pin
|
|
#define OLED_DDR DDRD // Display Port DDR
|
|
#define OLED_PORT PORTD // Display Port PORT
|
|
|
|
#include <avr/io.h>
|
|
#include <util/delay.h>
|
|
|
|
#endif /* MAIN_H_ */
|