Extruder motor won't go
I have a Prusa i3 and a Melzi with a MEGA1284p. I made it from a kit and it came with Repetier 0.9 firmware. I have upgraded this to the latest version using the online configuration tool to copy my original file. Upgrading had no effect on my problem.
Everything works except the Extruder motor and the problem seems to be somewhere in the firmware. I'm hoping its a configuration problem and that there is something fundamentally wrong with my settings. From the Repetier Host I can see that a G1 command is sent whenever I press the Extruder up/down buttons and given that everything else works this not a Comms problem.
I have decided its the firmware because I wrote a Sketch (see below) which sends a stream of pulses out the PB1 pin (in my case this is pin 41) which is connected to the Extruder motor driver and the motor turned continuously. So this means the PCB, processor, motor driver and motor aren't the problem and that leaves the firmware. Here is the Sketch...
I'm hoping someone else has had this problem. My next option is to somehow debug what is happening.