Hello Ilias, 

Indeed, as Peter mentioned, ADC for SAMR21 is in pending API updates. 

Otherwise, using one of older branches providing older ADC API is simple to 
use, 
see for instance 
https://github.com/adjih/riot-apps/tree/master/adc-sensor 

cheers, 
-- Cedric 

----- Original Message -----

| From: "Peter Kietzmann" <[email protected]>
| To: "RIOT OS kernel developers" <[email protected]>
| Sent: Thursday, February 25, 2016 11:37:22 AM
| Subject: Re: [riot-devel] ADC

| Hi Ilias,

| which driver (implementation) did you use? In current master there
| actually is no ADC driver for the samd21 and IIRC the state of the
| driver in watrli is based on a slightly different interface. Maybe
| [1] is of interest for you?

| Best
| Peter

| [1] https://github.com/RIOT-OS/RIOT/pull/4162

| Am 24.02.2016 um 19:59
| schttps://github.com/RIOT-OS/RIOT/pull/4162hrieb Oleg Hahm:

| | Hi again!
| 

| | Forgot to say: when worse comes comes to worse, you can still try
| | to
| | compile
| 
| | with WERROR=0 and let the compiler _not_ treat the warnings as
| | errors.
| 
| | However, I would rather recommend to find the reason for the
| | warnings.
| 

| | Cheers,
| 
| | Oleg
| 

| | _______________________________________________
| 
| | devel mailing list [email protected]
| | 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
| _______________________________________________
| devel mailing list
| [email protected]
| https://lists.riot-os.org/mailman/listinfo/devel
_______________________________________________
devel mailing list
[email protected]
https://lists.riot-os.org/mailman/listinfo/devel

Reply via email to