arduino_board.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2016 Freie Universität Berlin
3  * 2017 Thomas Perrot <thomas.perrot@tupi.fr>
4  *
5  * This file is subject to the terms and conditions of the GNU Lesser
6  * General Public License v2.1. See the file LICENSE in the top level
7  * directory for more details.
8  */
9 
10 #pragma once
11 
24 #include "arduino_board_analog.h"
25 #include "arduino_board_pins.h"
26 #include "arduino_board_pwm.h"
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
44 #ifndef F_CPU
45 #define F_CPU CLOCK_CORECLOCK
46 #endif
47 
56 #ifndef LED_BUILTIN
57 # define LED_BUILTIN ARDUINO_LED
58 #endif
59 
60 #ifdef __cplusplus
61 }
62 #endif
63 
Arduino analog pin map.
Arduino digital pin map.
Mapping of Arduino digital pin numbers to PWM settings.