Rackie
Newbie level 5
- Joined
- Feb 22, 2012
- Messages
- 8
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,332
I have this code in mikroC, it reads the 1k potentiometer, but when i use 5k potentiometer, it won't read.
Is there any code to Get Get 16-bit results of AD conversion?
Code:
potentiometer_value = ADC_Read(2);// Get 10-bit results of AD conversion