Search found 2 matches

by mdblabs
Fri Jul 03, 2015 10:17 am
Forum: General Discussion and Questions
Topic: ADC and Safe Mode
Replies: 10
Views: 10013

Re: ADC and Safe Mode

I'll try it again. I've rearrange my sensors on another pins so, from now, I solve the issue. But I need another pin for battery management, so, I'll give it another try...

Thanks for the answers. I'll update the state if I manage to solve it. Probably, I'm doing something wrong...
by mdblabs
Mon Jun 29, 2015 11:01 pm
Forum: General Discussion and Questions
Topic: ADC and Safe Mode
Replies: 10
Views: 10013

Re: ADC and Safe Mode

Almost same problem as you. I'm trying to read analog sensor in pins from X5 to X8, with values from 0 to 3.3V. In other analog port I can read it without any problem (example: in X1 to X4). My really simple code, from an example: from pyb import USB_VCP from pyb import Pin, ADC u = USB_VCP() adc = ...