Sustain Pedal keeps playing E4
I'm wondering if anyone can help me, I am using a Yamaha NP-30 as a controller keyboard for the software instruments in Logic Pro 9 and it is working fine apart from the fact that my sustain pedal which is hooked up to my keyboard is not working properly. Everytime I press down on the pedal, Logic reads the midi information as a note and continuously plays an E4. Please help.....I am a pianist without a pedal!!!
iMac 21.5" 3.06 GHz Intel Core i3 4GB 1333 MHz DDR3, Mac OS X (10.6.6)