<?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>ADC from Various Pins</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/5561/adc-from-various-pins</link><description>Hi,
I want to simultaneously read the value from 3 analog pins. For this, do I create just one adc_init function and handler functions or do I need to create multiple initializing and handling functions; one per pin?
Thanks.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 17 Feb 2015 21:15:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/5561/adc-from-various-pins" /><item><title>RE: ADC from Various Pins</title><link>https://devzone.nordicsemi.com/thread/19483?ContentTypeID=1</link><pubDate>Tue, 17 Feb 2015 21:15:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db2f8378-9a9c-49c0-a02c-266b80c1d724</guid><dc:creator>Kosidinma</dc:creator><description>&lt;p&gt;I can confirm this works perfectly, although the nrf_delay is a must for proper functioning.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ADC from Various Pins</title><link>https://devzone.nordicsemi.com/thread/19482?ContentTypeID=1</link><pubDate>Fri, 13 Feb 2015 15:26:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c3d2b0b-da59-4e83-bebd-55c6ff48a07d</guid><dc:creator>Kosidinma</dc:creator><description>&lt;p&gt;Thanks a lot...just as I suspected, I need to create multiple handlers&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ADC from Various Pins</title><link>https://devzone.nordicsemi.com/thread/19481?ContentTypeID=1</link><pubDate>Fri, 13 Feb 2015 15:10:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40a34f2c-b2b9-4a63-b9af-b39e9b32f245</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;There is a code example for your scenario on the &lt;a href="https://github.com/NordicSemiconductor/nrf51-ADC-examples/tree/master/simultaneous-adc-sampling-from-two-inputs"&gt;Nordic&amp;#39;s Github page&lt;/a&gt;. There are also other ADC code examples there that use the ADC with the softdevice.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>