As the title says... Chat on...

User avatar
By Fr4gg0r
#6940 For a floating adc pin I also get random values.
However, when I apply a voltage around 0.5V I get 1024..

That is odd. I checked the voltage with my multimeter and it is < 1V.
User avatar
By gwizz
#7269 I just checked my olimex breakout board and ADC function worked fine - I read 516 for 0.50V and ~1000 for ~1V.

Just for reference,
Code: Select allcount = 0
repeat
  count = count + 1
  print(adc.read(0))
  tmr.delay(10000)
  tmr.wdclr()
until(count > 1000)