Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Robotics Education and Curriculum (http://www.chiefdelphi.com/forums/forumdisplay.php?f=66)
-   -   How to use Generate_Pwms() ? (http://www.chiefdelphi.com/forums/showthread.php?t=36851)

steven 01-04-2005 11:43

How to use Generate_Pwms() ?
 
Hi,
I've been playing around with the Mini First Robotic Controller kit recently and haven't been able to get pwm 01 ~ 04 (USER control) to Generate Pwms (setting the Setup_PWM_Output_Type(IFI_PWM, ......) ). Does anyone have more details on how to use the Generate_Pwms() ?? :confused:

void Generate_Pwms(unsigned char pwm_1,unsigned char pwm_2,
unsigned char pwm_3,unsigned char pwm_4,
unsigned char pwm_5,unsigned char pwm_6,
unsigned char pwm_7,unsigned char pwm_8);

also, if i intend to use the pwm01 ~ pwm 04 as I/O, which pin are they reffering to? I know there are CPP1 to CPP4 pin on the 18F8520 Chip. :p


Cheers! :D


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

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