Okay guys, I'm at the beginning phase of my project (The robot knee manipulator) I am using a Hitachi LM052L LCD display and a pic16f877a microcontroller. A potentiometer is connected to the analog input of the microcontroller that serves as a voltage divider. Now, my problem is this. When I attached the LCD display to the microcontroller, it is displaying an output with respect to the potentiometer (The value of the display increases with the value of the resistance of the potentiometer which means it is working), BUT MY CRYSTAL OSCILLATOR AND 2 22pF CAPACITORS ARE NOT GROUNDED FROM THE MICROCONTROLLER. Another thing is that, when I ground the oscillator, the Display does not seem to be changing with respect to the potentiometer. This is weird. I was expecting the other way around. I mean, is this good or something? Can anybody help me on this?