COSA
An Object-Oriented Platform for Arduino Programming
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
Board.hh
Go to the documentation of this file.
1
27
#ifndef COSA_BOARD_HH
28
#define COSA_BOARD_HH
29
30
#include "
Cosa/Types.h
"
31
#include "Board.h"
32
33
// Custom Boards
34
#if defined(COSA_CUSTOM_BOARD)
35
#include <
Board.hh
>
36
37
// Arduino Boards
38
#elif defined(ARDUINO_DIECIMILA)
39
#include "
Cosa/Board/Arduino/Diecimila.hh
"
40
#elif defined(ARDUINO_DUEMILANOVE)
41
#include "
Cosa/Board/Arduino/Duemilanove.hh
"
42
#elif defined(ARDUINO_LEONARDO)
43
#include "
Cosa/Board/Arduino/Leonardo.hh
"
44
#elif defined(ARDUINO_MEGA)
45
#include "
Cosa/Board/Arduino/Mega.hh
"
46
#elif defined(ARDUINO_MICRO)
47
#include "
Cosa/Board/Arduino/Micro.hh
"
48
#elif defined(ARDUINO_NANO)
49
#include "
Cosa/Board/Arduino/Nano.hh
"
50
#elif defined(ARDUINO_PRO_MICRO)
51
#include "
Cosa/Board/Arduino/Pro_Micro.hh
"
52
#elif defined(ARDUINO_PRO_MINI)
53
#include "
Cosa/Board/Arduino/Pro_Mini.hh
"
54
#elif defined(ARDUINO_UNO)
55
#include "
Cosa/Board/Arduino/Uno.hh
"
56
57
// Breadboards
58
#elif defined(BREADBOARD_ATTINYX4)
59
#include "
Cosa/Board/Arduino/ATtinyX4.hh
"
60
#elif defined(BREADBOARD_ATTINYX5)
61
#include "
Cosa/Board/Arduino/ATtinyX5.hh
"
62
#elif defined(BREADBOARD_ATTINYX61)
63
#include "
Cosa/Board/Arduino/ATtinyX61.hh
"
64
#elif defined(BREADBOARD_ATMEGA328P)
65
#include "
Cosa/Board/Arduino/ATmega328P.hh
"
66
#elif defined(BREADBOARD_ATMEGA1284P)
67
#include "
Cosa/Board/Arduino/ATmega1284P.hh
"
68
69
// LilyPad Arduino Boards
70
#elif defined(LILYPAD_ARDUINO)
71
#include "
Cosa/Board/Arduino/LilyPad.hh
"
72
#elif defined(LILYPAD_ARDUINO_USB)
73
#include "
Cosa/Board/Arduino/LilyPad_USB.hh
"
74
75
#else
76
#error "Cosa/Board.hh: board not supported"
77
#endif
78
80
extern
const
Board::DigitalPin
digital_pin_map
[
Board::DIGITAL_PIN_MAX
] PROGMEM;
81
83
extern
const
Board::AnalogPin
analog_pin_map
[
Board::ANALOG_PIN_MAX
] PROGMEM;
84
86
extern
const
Board::PWMPin
pwm_pin_map
[
Board::PWM_PIN_MAX
] PROGMEM;
87
88
#endif
89
Board::DigitalPin
DigitalPin
Definition:
ATmega1284P.hh:106
ATmega328P.hh
Types.h
Board::PWM_PIN_MAX
Definition:
ATmega1284P.hh:242
Duemilanove.hh
ATtinyX5.hh
LilyPad.hh
Board::PWMPin
PWMPin
Definition:
ATmega1284P.hh:170
Diecimila.hh
Board.hh
ATmega1284P.hh
Pro_Mini.hh
Board::AnalogPin
AnalogPin
Definition:
ATmega1284P.hh:145
ATtinyX61.hh
Leonardo.hh
Nano.hh
Mega.hh
Board::ANALOG_PIN_MAX
Definition:
ATmega1284P.hh:238
pwm_pin_map
const Board::PWMPin pwm_pin_map[Board::PWM_PIN_MAX]
digital_pin_map
const Board::DigitalPin digital_pin_map[Board::DIGITAL_PIN_MAX]
ATtinyX4.hh
analog_pin_map
const Board::AnalogPin analog_pin_map[Board::ANALOG_PIN_MAX]
Pro_Micro.hh
LilyPad_USB.hh
Board::DIGITAL_PIN_MAX
Definition:
ATmega1284P.hh:239
Micro.hh
Uno.hh
cores
cosa
Cosa
Board.hh
Generated on Thu Aug 31 2017 17:02:02 for COSA by
1.8.11