Let's Make Robots!


Arduino Code Troubleshooting - VEX Transmitter / Receiver

I'm trying to read the signals sent from the VEX transmitter to the VEX receiver through my Arduino Mega. I started with this code and then made some modifications to visualize the outputs.

code problem, wiring problem or broken picaxe?

I am a noob so I am sorry if  this is obvious.

I am using a picaxe 20m and having an issue, when I am checking if a switch is high or low (if pin7 = 1 then ...), on all of my inputs except pin7, me touching or being near the wire is enough to flash it between 1 and 0. it is finding enough voltage from my hand to trigger, it will do this even on the simplest codes, any help would be well appreciated.

Thanks in advance