// pwm gforth interface version 08.01 #define PWM_VERSION 801 #ifdef __cplusplus extern "C" { #endif // functions in the adafruit pca9685 pwm driver // extern int pwm_test( void); extern int pwm_isInitialized( void); extern int pwm_setFreq( float freq); extern int pwm_setDutyCycle( float duty_cycle, int channel_num, float delay ); extern int pwm_sleep( void); extern int pwm_soft_reset( void); extern int pwm_hard_reset( void); // functions in pwm.c // extern int pwm_version( void); #ifdef __cplusplus } #endif