DavidLindh
New Member
Hello everyone,
I'm new to pic programing and I followed this tutorial but it's not working the way I expected.
Im using the PICkit2 programer and experimental card.
Question 1:
If I turn the pot to
0% i get 0,
on 50% I get 255,
on 51% I get 0,
on 75% I get 255,
on 76 I get 0 and
on 100% I get 255.
How do I get 0 at 0% and 255 at 100%?
Question 2:
How do I use 2 pots? One connected to RA0 and the other to RA1.
Thank you for the help
/David
I'm new to pic programing and I followed this tutorial but it's not working the way I expected.
Im using the PICkit2 programer and experimental card.
Question 1:
If I turn the pot to
0% i get 0,
on 50% I get 255,
on 51% I get 0,
on 75% I get 255,
on 76 I get 0 and
on 100% I get 255.
How do I get 0 at 0% and 255 at 100%?
Question 2:
How do I use 2 pots? One connected to RA0 and the other to RA1.
Thank you for the help
/David