I-8088W API Reference Manual, Version 1.0.0, Aug. 2010 --- 54
4.5. pac_i8088W_SetPWMDuty
The function is used to set the related PWM parameters.
Syntax
short pac_i8088W_SetPWMDuty
(int slot,int ch,unsigned long hz,unsigned int duty) ;
Parameter
1. slot 0 ~ 7
2. ch 0 ~ 7
3. hz 0 ~ 450K
4. duty High part 0 ~ 99
5. Low part 100 - High part
Return Values
Please refer to Error Code Table.