oh well, it turn out to be my mistake when foldering files..
but, now i got new error.
main.c:61: error: expected expression before '}' token
main.c:61: warning: left-hand operand of comma expression has no effect
make: *** [main.o] Error 1
Build failed with 1 errors and 1 warnings...
And here is ...
Search found 4 matches
- Tue Sep 20, 2011 12:30 pm
- Forum: AVR Support
- Topic: PWM on AVR ATmega128L
- Replies: 7
- Views: 10131
- Mon Sep 19, 2011 12:06 pm
- Forum: AVR Support
- Topic: PWM on AVR ATmega128L
- Replies: 7
- Views: 10131
Re: PWM on AVR ATmega128L
yes, AVR_PWM_USE_TIM1 is set to TRUE.
- Mon Sep 19, 2011 9:00 am
- Forum: AVR Support
- Topic: PWM on AVR ATmega128L
- Replies: 7
- Views: 10131
Re: PWM on AVR ATmega128L
yes, already add it.
did you mean this
if so, then i already add it as well on External declarations pwm_lld.h.
and still invoke those errors..
did you mean this
Code: Select all
#if AVR_PWM_USE_TIM1 && !defined(__DOXYGEN__)
extern PWMDriver PWMD1;
#endifif so, then i already add it as well on External declarations pwm_lld.h.
and still invoke those errors..
- Mon Sep 19, 2011 8:06 am
- Forum: AVR Support
- Topic: PWM on AVR ATmega128L
- Replies: 7
- Views: 10131
PWM on AVR ATmega128L
Hello,
Im trying implement PWM on ATmega128L. But, it's still got errors and warnings.
when i compile my code i got this :
main.c:55: warning: excess elements in array initializer
main.c:55: warning: (near initialization for 'pwmcfg.pc_channels')
main.c:56: warning: excess elements in array ...
Im trying implement PWM on ATmega128L. But, it's still got errors and warnings.
when i compile my code i got this :
main.c:55: warning: excess elements in array initializer
main.c:55: warning: (near initialization for 'pwmcfg.pc_channels')
main.c:56: warning: excess elements in array ...