[riot-notifications] [RIOT-OS/RIOT] feather-m0: add BAT voltage ADC line (A7) (#10938)

Martine Lenders notifications at github.com
Wed Jun 5 22:37:02 CEST 2019


miri64 commented on this pull request.



> @@ -177,9 +177,10 @@ static const adc_conf_chan_t adc_channels[] = {
     { GPIO_PIN(PA, 4), ADC_INPUTCTRL_MUXPOS_PIN4 },     /* A3 */
     { GPIO_PIN(PA, 5), ADC_INPUTCTRL_MUXPOS_PIN5 },     /* A4 */
     { GPIO_PIN(PB, 2), ADC_INPUTCTRL_MUXPOS_PIN10 },    /* A5 */
+    { GPIO_PIN(PA, 7), ADC_INPUTCTRL_MUXPOS_PIN7 },     /* A7 */

See https://github.com/RIOT-OS/RIOT/pull/10938#discussion_r259323370 why `ADC_LINE(6)` == A7. ;-)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/10938#discussion_r290923343
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190605/04d08366/attachment.html>


More information about the notifications mailing list