|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||||
|
|||||
|
Running K. Watson's code on Edubot, BRLOD
Since it seems our '06 controller isn't working (long story) I'm trying to work on the camera with our Edubot controller.
I downloaded Kevin Watson's camera code (streamlined version) and opened it up in MPLab. I followed the directions in "Using_Last_Years_FRC.txt" (Change device/libraries/etc.) I then compiled and uploaded the file to my controller. I have the camera connected correctly. Pan is pwm01, tilt is pwm02, power is on pwm03 and serial is connected via rs232->ttl adapter on the TTL port. However, when I turn the controller on I get a blinking red light of death (BRLOD) on "Program State" I threw in a couple printf's to see if I could diagnose the point of failure. I put printf's in at
Does anyone have any idea of what's wrong, because I sure don't ![]() |
|
#2
|
|||||
|
|||||
|
Re: Running K. Watson's code on Edubot, BRLOD
try putting the flies into the edubot's default code if you have not already. also did you read the thing about including stdio.h when using printf with the edubot controller.
|
|
#3
|
|||||
|
|||||
|
Re: Running K. Watson's code on Edubot, BRLOD
Quote:
Also, stdio.h is included on all files that use printf. |
|
#4
|
||||
|
||||
|
Re: Running K. Watson's code on Edubot, BRLOD
Quote:
-Kevin |
|
#5
|
||||
|
||||
|
Re: Running K. Watson's code on Edubot, BRLOD
Quote:
Mike - if Kevin's .zip gives you trouble, PM me and I will send you our camera-enabled code which runs on EduBot. That is how we are doing our initial work, too. I basically took the EduBot default code and followed the instructions in Kevin's non-bells-and-whistles camera zip archive. Note that it is not sufficient to follow the "Using last years rc" text file because the full size RC code is not directly compatible with the EduRC. |
|
#6
|
|||||
|
|||||
|
Re: Running K. Watson's code on Edubot, BRLOD
Quote:
![]() It tracks beautifully, I think I speak for everyone when I say thanks ![]() |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Out of the Box Camera Code | russell | Programming | 9 | 21-10-2009 05:28 |
| Strange products upon running code... | neilsonster | Programming | 17 | 10-08-2005 00:20 |
| Team THRUST - Kevin's Code and Camera Code Combine | Chris_Elston | Programming | 3 | 31-01-2005 22:28 |
| Kevin Watson's Kick-off Demo Code! | Mr. Lim | Programming | 27 | 22-01-2005 03:38 |
| heres the code. y this not working | omega | Programming | 16 | 31-03-2004 15:18 |