From 4bbbd7581f57f6bdfc64be2beeacabd2a0d0b5df Mon Sep 17 00:00:00 2001 From: Hauke Petersen <hauke.petersen@fu-berlin.de> Date: Tue, 27 Jun 2017 15:24:41 +0200 Subject: [PATCH] boards/arduino-due: added Arduino DAC pin mapping --- boards/arduino-due/include/arduino_pinmap.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/boards/arduino-due/include/arduino_pinmap.h b/boards/arduino-due/include/arduino_pinmap.h index 821fc8c218..4b2197919f 100644 --- a/boards/arduino-due/include/arduino_pinmap.h +++ b/boards/arduino-due/include/arduino_pinmap.h @@ -132,6 +132,14 @@ extern "C" { #define ARDUINO_A11 ADC_LINE(13) /** @} */ +/** + * @name Mapping of Arduino DAC pins to RIOT DAC lines + * @{ + */ +#define ARDUINO_DAC0 DAC_LINE(0) +#define ARDUINO_DAC1 DAC_LINE(1) +/** @} */ + #ifdef __cplusplus } #endif -- GitLab