1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

Merge pull request #10149 from fedepell/arduino_1

sys/arduino: add docs for analog map (strictly needed to build)
This commit is contained in:
Kevin "Bear Puncher" Weiss 2018-10-12 15:09:38 +02:00 committed by GitHub
commit ceba02f368
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,6 +105,16 @@
* }; * };
* @endcode * @endcode
* *
* - a mapping of ADC lines to Arduino analogs pins named `arduino_analog_map`, e.g.
* @code{c}
* static const adc_t arduino_analog_map[] = {
* ADC_LINE(3),
* ADC_LINE(2),
* ADC_LINE(1),
* ...
* };
* @endcode
*
* - a define `ARDUINO_LED` that is mapped to an Arduino pin number connected to * - a define `ARDUINO_LED` that is mapped to an Arduino pin number connected to
* any on-board LED, or to pin 0 in case no LED is defined: * any on-board LED, or to pin 0 in case no LED is defined:
* @code{c} * @code{c}