L297 L293 GRBL Problems..

So I started following the instructable for the Pocket Laser Engraver using the DVD-ROM Steppers, http://www.instructables.com/id/Pocket-laser-engraver/. I can plug the L293D directly into the Arduino Uno and use one of the built in examples for the stepper motor, the motor works correctly and goes back and forth

I found this schematic, http://ikalogic.com/phpBB3/download/file.php?id=343&sid=13518e12fc160372efc5c6368982164e&mode=view, so I can use the L297 with the L293 with GRBL.

When I use the L297, the pins according to GRBL for step and direction are reversed per the website, http://dank.bengler.no/-/page/show/5473_connectinggrbl. Pin 17 on the L297 has to go to Digital Pin 0 and Pin 18 on L297 goes to Digital Pin 3. The other issue that I have is that the motor only goes one way. I can not get the motor to go backwards, only forward. I have double checked all the connections, tore all the wires up and redone them to make sure it wasn't something simple but I get the same results all the time, only one direction of travel.

Anyone out there had similar problems or is the schematic I am using messed up? Thanks!

Look at the data sheet for the definitive guide to step and direction:-
http://www.google.com/url?sa=t&source=web&cd=2&ved=0CCkQFjAB&url=http%3A%2F%2Ffocus.ti.com%2Fgeneral%2Fdocs%2Flit%2Fgetliterature.tsp%3FgenericPartNumber%3Dl293%26fileType%3Dpdf%26track%3Dno&rct=j&q=l293d%20datasheet&ei=aJR2TvOYF4nV0QGgo5HkDQ&usg=AFQjCNGjOU7P8xtKkMoeIF1HJQFrLF4IIw&sig2=3y9_T94koChBI0rP_buRdA&cad=rja
It sounds like you are mixing them up.

Thanks for the feedback. I will use the examples in the L297 and L293 datasheets to see if that helps.