COSA
An Object-Oriented Platform for Arduino Programming
Board.hh File Reference
#include "Cosa/Types.h"
#include "Board.h"
Include dependency graph for Board.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Variables

const Board::DigitalPin digital_pin_map [Board::DIGITAL_PIN_MAX]
 
const Board::AnalogPin analog_pin_map [Board::ANALOG_PIN_MAX]
 
const Board::PWMPin pwm_pin_map [Board::PWM_PIN_MAX]
 

Detailed Description

Version
1.0

License

Copyright (C) 2012-2015, Mikael Patel

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

Description

Cosa Board pin symbol definitions mapping to difference board/processor types. Board symbols are set by the build, e.g. -DARDUINO_UNO, and defined in the boards.txt configuration file.

This file is part of the Arduino Che Cosa project.

Definition in file Board.hh.

Variable Documentation

const Board::AnalogPin analog_pin_map[Board::ANALOG_PIN_MAX]

Analog pin index to symbol map

const Board::DigitalPin digital_pin_map[Board::DIGITAL_PIN_MAX]

Digital pin index to symbol map

const Board::PWMPin pwm_pin_map[Board::PWM_PIN_MAX]

PWM pin index to symbol map