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:
commit
ceba02f368
@ -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}
|
||||||
|
Loading…
Reference in New Issue
Block a user