when this stuff was still in it's infancy.
Pinocchio, 1995
http://www.arrickrobotics.com/robomenu/pinocchi.html
Gigantor, 1995
http://www.arrickrobotics.com/robomenu/gigantr3.html
I posted a problem about 'strcmp' in another post earlier today. I programming our robot to use a command line interface to accept commands over the serial port. This is wired to usart1 on a ATMega128 on a Olimex AVR-MT-128 controller with a DB-9 onboard.
Below is each test code and output showing that I get two diff results when using 'strcmp'. I don't know why this is happening.
Basically, 'strcmp' is supposed to return a 0 when the compare is true. This does happen when using 'fgets' to enter a string.
But in my other test code, where I use interrupts on the usart, the 'strcmp' *does not* return a 0 when the compare is true. Instead, it returns a 13. So I had to edit my test code in order to get it to work.
I hope somebody knows about this. In the meantime, I have to use '13' instead of '0' when using 'strcmp', this is how I have to get my robot to work properly.