arduino_board.h File Reference

Configuration of the Arduino API for Waspmote Pro board. More...

Detailed Description

Configuration of the Arduino API for Waspmote Pro board.

Author
J. David Ibáñez jdavi.nosp@m.d.ib.nosp@m.p@gma.nosp@m.il.c.nosp@m.om

Definition in file arduino_board.h.

#include "arduino_pinmap.h"
#include "periph/pwm.h"
+ Include dependency graph for arduino_board.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

#define ARDUINO_LED   (13)
 The on-board LED is connected to pin 13 on this board. More...
 
#define ARDUINO_PWM_FREQU   (490U)
 PWM frequency.
 
static const gpio_t arduino_pinmap []
 Look-up table for the Arduino's digital pins.
 
static const adc_t arduino_analog_map []
 Look-up table for the Arduino's analog pins. More...
 
static const arduino_pwm_t arduino_pwm_list []
 List of PWM GPIO mappings. More...
 

Macro Definition Documentation

◆ ARDUINO_LED

#define ARDUINO_LED   (13)

The on-board LED is connected to pin 13 on this board.

The waspmote-pro board has 2 programmable LEDs: green connected to pin 13 (aka LED1), and red connected to pin 12 (aka LED0).

Definition at line 35 of file arduino_board.h.

Variable Documentation

◆ arduino_analog_map

const adc_t arduino_analog_map[]
static
Initial value:
= {
ARDUINO_A0,
ARDUINO_A1,
ARDUINO_A2,
ARDUINO_A3,
ARDUINO_A4,
ARDUINO_A5,
ARDUINO_A6,
ARDUINO_A7,
}

Look-up table for the Arduino's analog pins.

Definition at line 99 of file arduino_board.h.

◆ arduino_pwm_list

const arduino_pwm_t arduino_pwm_list[]
static
Initial value:
= {
}

List of PWM GPIO mappings.

Definition at line 118 of file arduino_board.h.