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

Martine Lenders notifications at github.com
Wed Jun 5 21:57:13 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 */

Where? I thought the usual approach with boards is to just rely on the board's references if they exist. Since the Feather has an excellent [pinout diagram](https://cdn-learn.adafruit.com/assets/assets/000/046/196/original/Feather_M0_Basic_Proto_v2.2.pdf?1504805559) that even I can figure out at one glance, I'd say we are golden with this.

-- 
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_r290908155
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190605/ed251410/attachment-0001.html>


More information about the notifications mailing list