<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>GPIO ADC and S210</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/5867/gpio-adc-and-s210</link><description>Hi,
I am developing an application to capture data on a PC over ANT+ using the ANTUSB-m as slave and the nRF51 DK as master. 
 In order to test my program I want to be able to measure a GPIO input on the DK and send the value over ANT+ to the USB device</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 07 Mar 2015 10:56:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/5867/gpio-adc-and-s210" /><item><title>RE: GPIO ADC and S210</title><link>https://devzone.nordicsemi.com/thread/20471?ContentTypeID=1</link><pubDate>Sat, 07 Mar 2015 10:56:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28562c92-275f-4b66-bdfb-05ed14a0323f</guid><dc:creator>DazzaNL</dc:creator><description>&lt;p&gt;Hi,
Thanks for the tip, I&amp;#39;ve got it working well enough for testing purposes!
Cheers.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIO ADC and S210</title><link>https://devzone.nordicsemi.com/thread/20470?ContentTypeID=1</link><pubDate>Fri, 06 Mar 2015 10:45:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27f799ba-a18f-4779-b76e-f4f19e5b038c</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;The nRF51422 and nRF51822 are actually the same chip with only one exception, see &lt;a href="https://devzone.nordicsemi.com/question/30569/moving-from-nrf51822-to-nrf51422/?answer=30636#post-id-30636"&gt;this thread&lt;/a&gt;.
It should be fairly easy to port the ADC examples on Github to the S210. Just copy the code in one of the non BLE examples into your ANT project. Just make sure you set the priority of the ADC interrupt in a similar way as done in the BLE examples, i.e. with sd_nvic_setPriority function instead of calling NVIC directly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>