Re: NRF52dk ADC

2016-12-02 Thread Adam
You should still be able to access a ref to the branch even if it was deleted. For git, deleting a branch is more like shoving the clutter in the closet than throwing it in the trash. try 'git branch -a' to see if it's visible on the remote... and if nothing else, 'git checkout 0c0f3e1' because

Re: NRF52dk ADC

2016-12-02 Thread David G. Simmons
Sadly my fork does not have that branch any longer ... If anyone DOES happen to have a copy of it, and could send me the relevant main.c file for reference, I'd greatly appreciate it! Best regards, dg > On Dec 2, 2016, at 12:43 PM, Christopher Collins wrote: > > On Fri,

Re: NRF52dk ADC

2016-12-02 Thread Christopher Collins
On Fri, Dec 02, 2016 at 09:30:04AM -0800, will sanfilippo wrote: > There is a branch called “sterly_refactor” that we used when we were > refactoring bsp and other code. There is ADC code in there. If you > checkout that branch you can go to the apps directory and look for the > sblinky app. In

Re: NRF52dk ADC

2016-12-02 Thread will sanfilippo
There is a branch called “sterly_refactor” that we used when we were refactoring bsp and other code. There is ADC code in there. If you checkout that branch you can go to the apps directory and look for the sblinky app. In that main.c (which is where I said this stuff shouldnt be but that was

Re: NRF52dk ADC

2016-12-02 Thread David G. Simmons
Do you have some functioning code you could share? I'm really just using this sensor https://www.adafruit.com/products/1786 and reading an analog voltage from it anyway. dg > On Dec 2, 2016, at 12:06 PM, will sanfilippo wrote: > >

Re: NRF52dk ADC

2016-12-02 Thread will sanfilippo
Just to chime in here. Not sure what your interrupt issue without looking at it in more detail, but there is a reason you dont want to do the init in main and you want to do it in the bsp: you now have processor specific code in your application. If you want your driver or application to be

Re: NRF52dk ADC

2016-12-01 Thread marko kiiskila
Hi David, I have partial answers: > On Nov 29, 2016, at 8:37 AM, David G. Simmons wrote: > > > Moving on from the BLE -- which now works perfectly -- and I understand how > 'subscribed' values work in nimBLE, thanks to all who responded! > > Next up is implementing an

NRF52dk ADC

2016-11-29 Thread David G. Simmons
Moving on from the BLE -- which now works perfectly -- and I understand how 'subscribed' values work in nimBLE, thanks to all who responded! Next up is implementing an ADC-based sensor. All the NRF52DK stuff has been moved out of -core and into mynewt-nordic, and I've looked through the