mishradk / arduino-tiny

exported from
Other
0 stars 0 forks source link

Analogue pin INPUT_PULLUP == INPUT #84

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Try to set analogue input pin as INPUT_PULLUP.

I’m trying to use the internal resistor in series with an external LDR. The 
voltage at the pin should vary with light level.

The voltage is always zero, as the pullup resistors are not activated

Using arduino-tiny-0100-0017 under Win7.

It all works fine if compiled using
https://github.com/damellis/attiny/tree/master/attiny

but this lacks features I'd like to use in other projects.

Original issue reported on code.google.com by DibblerT...@gmail.com on 27 Jul 2013 at 11:22

GoogleCodeExporter commented 9 years ago
Processor?  Sketch?  Wiring?

Original comment by arduino....@gmail.com on 27 Jul 2013 at 7:54