Erik
YaBB Newbies
Posts: 11
|
I uploaded C-test.c, which seemed to be no problem. When reading out the flash-buffer content, I saw the program C-test.c, followed by 10 arrows to the right. Again, execution resulted in a crash. I also tried writing the program directly via the 'E' command. (first 'zc' to clear the buffer, then 'E', 'I' and then: main(){ print("hello"); exit(0); } after the last brace, I hit "enter", then "esc", then "X"). 'zd' printed the program to the screen, this time without the arrows on the bottom. However, the robot still crashed after hitting 'Q' . P.S I also tried the program without the exit(0); line, but that didn't seem to matter much... when I put a "motors(0,50);" line in the program, I get a "unknown function" before the robot crashes, so I guess my robot does try to read the C-program...
|