Are you using a PIC18F4620 or PIC18F4685? The AIN channel is wrongly selected in the appr. MIOS versions. Since nobody has noticed this before (beside of me), I think that an update is not really urgently required (there are two other changes I want to do for the upcoming MIOS version)
If you are using a PIC18F452, it sounds more like a bug in your hardware?
this sounds very much like the result of one (or more) sensors not connected properly. I discoverd that if you leave one pin unconnected, the signal of the neighboured pins “strays”. This may be not as obvious as it sounds, 'cause the problem may also be the neighbour; esp. if you mix different types of analogue inputs. If it once worked, I’d say a broken or bridged connection sounds most probably.
Maybe something got w(e)ired when you mounted it in the case?
Is only a special type of sensors affected?
If it’s the IR Distance Sensors: I recently distroyed one cause I mixed up + and - and didn’t notice that for some seconds :-\
Since I found connecting sensors to the AIN sometimes a pain in the arse, I use to solder extra 3-pin connectors on a seperate PCB. These pins allow quick grounding with a jumper or to switch the sensors easily to check for hardware errors:
I had the chance to find an unused AIN kit and replaced all the ICs of the buggy AIN … nothing changed :-\
I’m seriously dissapointed … but there might be a logical explanation … hope I’ll find …
Perhaps a more understandable explanation about the syndroms :
For two AIN neighbours : if I touch the first one, my applications says nothing (no movement); if I touch the second one, it alternatively sends the values for both as if they were simultaneously touched … + both have always the same value for PinGet()
Thorsten, I just seen your message : you were right man, seems like the pb was coming from a bad soldering directly on Vd pin of one of the joysticks …
I’m feeling like I was frightened that everything was becoming crazy just at the time I was finishing that damn soldering-marathon (begun 2 years ago) You guess that kinda feeling ;D