I am helping my son with a school diorama with buttons and LEDs. Pretty simple Python script that works perfects until we unplug the HDMI video. The GPIO pins start changing state without us touching any buttons. I read one article that talked about the HDMI providing a ground but didn't make sense. Any ideas what we could try. We want to use the raspberry pi with no keyboard, mouse or monitor...just the buttons and LEDs. We are also using the speaker output to some battery powered speakers through the Audio jack. Any ideas?




