|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||||
|
|||||
|
Printf has just entirely failed to do anything
I started with the default camera code from Kevin Watson a few weeks ago, and I have been making my modifications happily--that is, until yesterday. First, I added two of my own files, which did all the camera calls, consolidating them into a single Camera Update function. Then, I pulled the camera update function calls out of user_routines.c and put my camera update function call into Process local IO. I had something like this working last week, but it refuses to send any bytes out the serial port now.
Things I have tried: -tested my serial link. It is good-I can send programs down + read them back with device reader. I also see IFI> when I reset the bot -tested with another RC. Same problem. -unplugged camera TTL converter. Same problem -Added printfs everywhere in my code. None of them work unless I comment out the #include for serial_ports.h (this breaks the camera functionality of course) And none of the printfs produce any output -Replaced all the files that should never have been modified (serial_ports.c/.h, terminal.c/.h, camera.c/.h are the ones I overwrote with the ones out of Kevin's code). No effect. I'm bashing my head on the wall right now.....please help! JBot PS. I will post the code tonight if you need it. I am using a school machine right now and don't have access to my code right now. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Compiling Failed | Teh Mike | Programming | 7 | 09-02-2005 13:27 |
| pic: Failed attempt at simulation | CD47-Bot | Extra Discussion | 5 | 17-06-2004 11:03 |
| printf isn't printf-ing. Help! | Meandmyself | Programming | 14 | 15-02-2004 16:27 |
| And now for something entirely different..... | archiver | 1999 | 1 | 23-06-2002 22:46 |