Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   default code vs. 2.4 (http://www.chiefdelphi.com/forums/showthread.php?t=34014)

stephenthe1 05-02-2005 09:28

default code vs. 2.4
 
hi,
we tried using the 2.4 default code, which supports the cmucam. The robot didn't respond to the joysticks or anything. Yet, the bot worked fine (the base of the bot we have finished so far) with vs. 2.2 of the default code (completely unmodified!!!). any suggestions? the electrical wiring has stayed the same. is there a newer vs. of ifi loader I need? I know the 2.4 code supports the cmucam, we didn't have that hooked up. but it shouldn't need it hooked up right? appreciate your help, thanks,
Stephen

Ryan M. 05-02-2005 12:02

Re: default code vs. 2.4
 
You can turn the camera off in 2.4 by opening the project and doing Project->Build Options->Project.

Locate the MPLAB C18 tab in the dialog that pops up and click it. Just click the '_USE_CMU_CAMERA' (or whatever it's called. It's obvious) and hit "Remove." Also make sure hte "Use alternate settings" is unchecked. You'll be warned by the compiler that there's a type mismatch with the printfs, but it doesn't matter. :) I think...

Alan Anderson 05-02-2005 18:02

Re: default code vs. 2.4
 
Quote:

Originally Posted by stephenthe1
we tried using the 2.4 default code, which supports the cmucam. The robot didn't respond to the joysticks or anything. Yet, the bot worked fine (the base of the bot we have finished so far) with vs. 2.2 of the default code (completely unmodified!!!). any suggestions? the electrical wiring has stayed the same.

If you're using single-joystick drive, the proper pwm outputs changed between version 2.2 and 2.4 of the default code. Version 2.2 uses pwms 13-16. Version 2.4 uses pwm11 and pwm12.


All times are GMT -5. The time now is 00:00.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi