|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
We'd like to port the camera code to the 2005 controller so that we can work on it during the upcoming windows starting March 6. I've started that, but ran into the camera serial port shtuff. Any suggestions on the "easy" approach? There has to be code for the ttl serial port for the 2005 controller, right? Is is better to modify that or squeeze the 2006 shtuff into there? Any other suggestions?
|
|
#2
|
||||
|
||||
|
Re: porting camera code to 2005 bot controller
Quote:
|
|
#3
|
||||
|
||||
|
Re: porting camera code to 2005 bot controller
Quote:
-Kevin |
|
#4
|
|||
|
|||
|
There are still 3 errors. It looks like a struct definition member needs to be defined. The errors are below.
C:\Microchip\First_Code\fVersion_05\serial_ports.c :387:Error [1205] unknown member 'SENDB' in '__tag_100' C:\Microchip\First_Code\fVersion_05\serial_ports.c :387:Error [1131] type mismatch in assignment C:\Microchip\First_Code\fVersion_05\serial_ports.c :481:Error [1205] unknown member 'ADDEN' in '__tag_4' C:\Microchip\First_Code\fVersion_05\serial_ports.c :481:Error [1131] type mismatch in assignment C:\Microchip\First_Code\fVersion_05\serial_ports.c :520:Error [1205] unknown member 'SENDB' in '__tag_8' C:\Microchip\First_Code\fVersion_05\serial_ports.c :520:Error [1131] type mismatch in assignment |
|
#5
|
|||||
|
|||||
|
Re: porting camera code to 2005 bot controller
Quote:
Last edited by The Lucas : 28-02-2006 at 07:04. |
|
#6
|
|||
|
|||
|
Thanks for taking the time to help but that was not it. I tried it, but I had started from a fresh directory with no .o files in it. Either way, the error occurs.
It appears to be a struct defined in the 18f8722 chip and not the 18f8520 chip, more to research I suppose. I was hoping to have it ready for the kids when our next window occurs, but I suppose that will have to wait til then. |
|
#7
|
||||
|
||||
|
Re: porting camera code to 2005 bot controller
Be advised that my students followed the directions in the "Using_Last_Years_FRC.txt" file and it worked just fine.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 2006 Camera identical to 2005? | de_ | Programming | 6 | 23-01-2006 03:28 |
| For anyone who doesn't get the camera code..... | Jake M | Programming | 8 | 16-01-2006 18:56 |
| Trying to import Camera code into program without. | Kingofl337 | Programming | 1 | 18-02-2005 00:43 |
| heres the code. y this not working | omega | Programming | 16 | 31-03-2004 15:18 |
| serious problem found - robot controller resets when jarred! | KenWittlief | Electrical | 23 | 19-03-2003 13:30 |