Hi Peter,

Yes, i've used the last configuration that you posted (as you suggested me
last time).
I tried to use the pin PA06, but i can't be able to read different values
but 1206 (or similar).

For the test, i've used a simple analog potentiometer plugged to PA06.


*best regards, *
*Alessandro*

2016-07-22 12:00 GMT+02:00 <devel-requ...@riot-os.org>:

> Send devel mailing list submissions to
>         devel@riot-os.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://lists.riot-os.org/mailman/listinfo/devel
> or, via email, send a message with subject or body 'help' to
>         devel-requ...@riot-os.org
>
> You can reach the person managing the list at
>         devel-ow...@riot-os.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of devel digest..."
>
>
> Today's Topics:
>
>    1. Re: ADC on SAMR21-xpro (Peter Kietzmann)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 22 Jul 2016 11:59:46 +0200
> From: Peter Kietzmann <peter.kietzm...@haw-hamburg.de>
> To: RIOT OS kernel developers <devel@riot-os.org>
> Subject: Re: [riot-devel] ADC on SAMR21-xpro
> Message-ID: <5791ee92.2050...@haw-hamburg.de>
> Content-Type: text/plain; charset="utf-8"; format=flowed
>
> Hi Alessandro,
>
> what is your code base? If you have adapted this PR (as I proposed some
> time ago)
>
> https://github.com/RIOT-OS/RIOT/pull/4162/
>
> it should be PA6, PA7, PA8, PA9, PB2, PB3 according to the ADC channel.
> Compare this configuration:
>
>
> https://github.com/RIOT-OS/RIOT/pull/4162/files#diff-134bda29ded96fa4abaa9f99216a6116R325
>
> Best regards
> Peter
>
>
> Am 22.07.2016 um 11:46 schrieb ALESSANDRO NICOLI:
> > Hi Rioters,
> > I've some troubles about using the ADC on the SAMR21-XPRO board.
> > At now, i've added the libraries and required features for it, it
> > compiles and i can use the "periph_adc" test, but i'm not able to find
> > which GPIO are used for the ADC.
> >
> > In less words, i need an help to start using the ADC lines for a
> > moisture sensor.
> >
> > I've found the watr-li tutorial (http://watr.li/Sensing-moisture.html),
> > but is deprecated.
> >
> > There is someone who can drive me about it?
> >
> >
> > Thanks a lot,
> > /best regards, /
> > /Alessandro/
> >
> >
> > _______________________________________________
> > devel mailing list
> > devel@riot-os.org
> > https://lists.riot-os.org/mailman/listinfo/devel
> >
>
> --
> Peter Kietzmann
>
> Hamburg University of Applied Sciences
> Dept. Informatik, Internet Technologies Group
> Berliner Tor 7, 20099 Hamburg, Germany
> Fon: +49-40-42875-8426
> Web: http://www.haw-hamburg.de/inet
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> devel mailing list
> devel@riot-os.org
> https://lists.riot-os.org/mailman/listinfo/devel
>
>
> ------------------------------
>
> End of devel Digest, Vol 41, Issue 35
> *************************************
>
_______________________________________________
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel

Reply via email to