File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
boards/esp32s2-lilygo-ttgo-t8/include Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -80,6 +80,20 @@ extern "C" {
8080#define ARDUINO_PIN_DAC1 ARDUINO_PIN_21 /**< Arduino pin DAC1 */
8181/** @} */
8282
83+ /**
84+ * @name Mapping of Arduino analog pins to RIOT ADC lines
85+ * @{
86+ */
87+ #define ARDUINO_A0 ADC_LINE(0) /**< ADC line for Arduino pin A0 */
88+ #define ARDUINO_A1 ADC_LINE(1) /**< ADC line for Arduino pin A1 */
89+ #define ARDUINO_A2 ADC_LINE(2) /**< ADC line for Arduino pin A2 */
90+ #define ARDUINO_A3 ADC_LINE(3) /**< ADC line for Arduino pin A3 */
91+ #define ARDUINO_A4 ADC_LINE(5) /**< ADC line for Arduino pin A4 */
92+ #define ARDUINO_A5 ADC_LINE(6) /**< ADC line for Arduino pin A5 */
93+
94+ #define ARDUINO_ANALOG_PIN_LAST 5
95+ /** @} */
96+
8397/**
8498 * @name Mapping of Arduino DAC pins to RIOT DAC lines
8599 * @{
You can’t perform that action at this time.
0 commit comments