Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   easyC PRO Tutorial - Including the Camera (http://www.chiefdelphi.com/forums/showthread.php?t=52003)

Kingofl337 16-01-2007 11:21

easyC PRO Tutorial - Including the Camera
 
1 Attachment(s)
Including -

- easyC Interface
- Controler Configuration
- Programming the Controler
- Autonomous Programming
- Using the Graphics Display to test the Camera
- Driving with the Camera
- Driving strait with the Gyro
- Converting Blocks to C Code
- Making "C" Code Functions in easyC


If you would like to see anything else covered let us know.

gabrielse 24-01-2007 11:18

Re: easyC PRO Tutorial - Including the Camera
 
Tutorial Request:

May we please have a tutorial on how to build a dashboard viewer to center the joysticks.

Our programmer is having a hard time with the graphic display. The current tutorial utilizes the camera and is more complicated than what we are looking for.

Kingofl337 24-01-2007 11:55

Re: easyC PRO Tutorial - Including the Camera
 
Here is a sample that will show you what your looking for. I used a user code block to add
the %3d so it holds three places for printing on the graphics display. We are going to release
an update on Monday that will add this feature to the graphics display along with a few new
ones. :D


Code:

while ( 1 )
      {
            Joy1_X = GetOIAInput ( 1 , 1 ) ;
            Joy1_Y = GetOIAInput ( 1 , 2 ) ;
            PrintTextToGD ( 2 , 3 , 0 , "Port 1 Joystick X: %3d\n" , (int)Joy1_X ) ;
            PrintTextToGD ( 4 , 3 , 0 , "Port 1 Joystick Y: %3d\n" , (int)Joy1_Y ) ;
      }


texasranger 19-08-2007 00:21

Re: easyC PRO Tutorial - Including the Camera
 
This is easy C pro? The version I have is a bit different. (instead of "SetPWM" there's "SetMotor" and there is no "GearToothSensor" in my version of EasyC pro)

Can someone tell me how to do user functions and how to program a cmu cam with VEX on VEX EasyC version 2?

Kingofl337 21-08-2007 16:32

Re: easyC PRO Tutorial - Including the Camera
 
It sounds like you are using easyC V2, which is for VEX, and it's not designed to work with the FRC sensors.

If you have an FRC team, they received a copy of easyC Pro for free that will allow you to program the VEX robot with FRC sensors. You can download a trial at http://www.intelitekdownloads.com/easyCPRO/

Other wise you can buy easyC Pro on http://shop.intelitek.com .


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

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