To answer my own question, yes, I am correct in assuming that! I just had to 
keep moving the wire from pin to pin until I found the one that ADC0 
referenced, but the same driver for the ADC that worked on the NRF52DK board 
works just fine on the Arduino Primo. I'll be writing up a blog post about that 
shortly.

dg

> On Feb 10, 2017, at 9:25 AM, David G. Simmons <[email protected]> wrote:
> 
> Am I correct in assuming that the requisite libraries for the ADC on the 
> Arduino Primo are not included yet? Since the Arduino Primo is based on the 
> NRF52, would it be possible to simply modify the NRF52 ADC files to apply 
> them to the Arduino Primo? If so, does anyone have a valid schematic for the 
> Arduino Primo in order to determine the pin mappings?
> 
> I'd like to get the ADC App I wrote and the air_quality app running on the 
> same board at the same time in order to have a board that reads multiple 
> sensors simultaneously.

--
David G. Simmons
(919) 534-5099
Web <https://davidgs.com/> • Blog <https://davidgs.com/davidgs_blog> • Linkedin 
<http://linkedin.com/in/davidgsimmons> • Twitter 
<http://twitter.com/TechEvangelist1> • GitHub <http://github.com/davidgs>
/** Message digitally signed for security and authenticity.
* If you cannot read the PGP.sig attachment, please go to
 * http://www.gnupg.com/ <http://www.gnupg.com/> Secure your email!!!
 * Public key available at keyserver.pgp.com <http://keyserver.pgp.com/>
**/
♺ This email uses 100% recycled electrons. Don't blow it by printing!

There are only 2 hard things in computer science: Cache invalidation, naming 
things, and off-by-one errors.


Attachment: signature.asc
Description: Message signed with OpenPGP

Reply via email to