/* * pinout.h * * Created: 15.03.2015 * Author: nqtronix * Package: Decision Box BE * ID: 430456905935 * Version: 1.0 * Release: 17.03.2015 * License: BY-NC-SA * * Content: * - decision_box.c (program) * - pinout.h (maps IO)[this] * - user.h (user defined values) * * Description: * This document maps the required IO to static names. * If your project requires re-mapping of individual pin for layout or other purposes * you can modify this file. This also greatly simplifies porting to other * microcontrollers of the AVR family. * DO NOT MODIFY THE MAPPING WITHIN THE MAIN C FILE. */ #ifndef PINOUT_H_ #define PINOUT_H_ //LED GROUP #define PIN_LED PINB #define DDR_LED DDRB #define PORT_LED PORTB //LED RED #define PIN_LEDR PINB3 #define DDR_LEDR DDB3 #define PORT_LEDR PB3 //LED GREEN #define PIN_LEDG PINB0 #define DDR_LEDG DDB0 #define PORT_LEDG PB0 //LED YELLOW #define PIN_LEDY PINB1 #define DDR_LEDY DDB1 #define PORT_LEDY PB1 //COMMON IO #define PIN_IO PINB #define DDR_IO DDRB #define PORT_IO PORTB //BUTTON 0 #define PIN_IO0 PINB4 #define DDR_IO0 DDB4 #define PORT_IO0 PB4 #define PCINT_IO0 PCINT4 #define ADMUX_IO0 ((1<