Hi, i can't compile it on gcc.
I always receive an error: "../pwm.c:250:23: error: "*" may not appear in macro parameter list"
on lines :
#define pwmSet9(ICR1 * val /255) OCR1A=val
#define pwmSet10(ICR1 * val /255) OCR1B=val
also warnings : "../pwm.c:135: warning: implicit declaration of function 'sbi'"
on :
void pwmOn9(void) {
/****************************/
/* Pin 9 on*/
/****************************/
//9 A on - set at Bottom, clear at compare match
sbi(TCCR1A,7);
cbi(TCCR1A,6);
any ideas ?
