ADC0 Pin1 PB5 (RESET)ADC1 Pin7 PB2ADC2 Pin3 PB4ADC3 Pin2 PB3
and the support for it here is good XD
Quote from: Jack Christensen on Sep 24, 2012, 03:44 amand the support for it here is good XDThanks!
I saw the great news (you took the kitbiz plunge with One Million Ohms). Congratulations!
The analog pins are the ADC numbers from the datasheet. Which matches perfectly with the table in your post.
Physical pin 7, Arduino pin #2, Analog #1 works.Physical pin 2, Arduino pin #3, Analog #3 works.Physical pin 3, Arduino pin #4, Analog #2 is the one that returns extremely low values every time.
Shame about the reset pin, I'll never use it if it means it'll be the last time I program the chip.
Physical pin 3, Arduino pin #4, Analog #2 is the one that returns extremely low values every time.
Nope, the code has a #define zoneOneSensor 4then a pinMode(zoneOneSensor, INPUT);and a analogRead(zoneOneSensor); just like zoneTwoSensor which works on 3, and when I ran a jumper wire from physical pin 3 to 7, and changed the #define zoneOneSensor to 2 instead of 4, it reads fine.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16