ravruch
Newbie level 5
- Joined
- Dec 31, 2011
- Messages
- 10
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Location
- Pune India
- Activity points
- 1,354
hi;
I am using ATMEGA16 and interfacing three analog sensors with it.
Initially I just interfaced only one sensor ,and did required programming in 'c' in codevision avr compiler.
for one sensor i am getting the required output on LCD but when i did the same programming with two sensors interfaced ,I did select the corresponding channels and did correct programming.then also output on lcd coming wrong that is the output which is supposed to come for 1st is showing for second ,,,,,,,,is this a programming defect or something is wrong with internal adc of atmga16??
I am using ATMEGA16 and interfacing three analog sensors with it.
Initially I just interfaced only one sensor ,and did required programming in 'c' in codevision avr compiler.
for one sensor i am getting the required output on LCD but when i did the same programming with two sensors interfaced ,I did select the corresponding channels and did correct programming.then also output on lcd coming wrong that is the output which is supposed to come for 1st is showing for second ,,,,,,,,is this a programming defect or something is wrong with internal adc of atmga16??