You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Hi there. I've tried to compile some examples from the 'pwm' library and failed.
To Reproduce
Just open the 'pwm_d5d6_duo0.ino' or 'pwm_d5d6_solo.ino' or 'pwm_d9d10_duo1.ino' example and try to compile it.
IDE output:
In file included from C:\Users\kvark\AppData\Local\Arduino15\packages\nulllab avr compatible boards\hardware\avr\1.0.3\libraries\Pwm\pwm.cpp:1:0:
C:\Users\kvark\AppData\Local\Arduino15\packages\nulllab avr compatible boards\hardware\avr\1.0.3\libraries\Pwm\pwm.h:8:1: error: 'uint16_t' does not name a type; did you mean 'char16_t'?
uint16_t pwmFrequency(uint8_t, uint32_t);
^~~~~~~~
char16_t
C:\Users\kvark\AppData\Local\Arduino15\packages\nulllab avr compatible boards\hardware\avr\1.0.3\libraries\Pwm\pwm.h:9:1: error: 'uint32_t' does not name a type; did you mean 'char32_t'?
uint32_t pwmResolution(uint8_t, uint8_t);
^~~~~~~~
char32_t
C:\Users\kvark\AppData\Local\Arduino15\packages\nulllab avr compatible boards\hardware\avr\1.0.3\libraries\Pwm\pwm.h:27:14: error: variable or field 'pwmMode' declared void
void pwmMode(uint8_t pin, uint8_t wmode, uint8_t fmode = PWM_FREQ_FAST, uint8_t dband = 0);
^~~~~~~
C:\Users\kvark\AppData\Local\Arduino15\packages\nulllab avr compatible boards\hardware\avr\1.0.3\libraries\Pwm\pwm.h:27:14: error: 'uint8_t' was not declared in this scope
C:\Users\kvark\AppData\Local\Arduino15\packages\nulllab avr compatible boards\hardware\avr\1.0.3\libraries\Pwm\pwm.h:27:27: error: 'uint8_t' was not declared in this scope
void pwmMode(uint8_t pin, uint8_t wmode, uint8_t fmode = PWM_FREQ_FAST, uint8_t dband = 0);
^~~~~~~
C:\Users\kvark\AppData\Local\Arduino15\packages\nulllab avr compatible boards\hardware\avr\1.0.3\libraries\Pwm\pwm.h:27:42: error: 'uint8_t' was not declared in this scope
void pwmMode(uint8_t pin, uint8_t wmode, uint8_t fmode = PWM_FREQ_FAST, uint8_t dband = 0);
^~~~~~~
C:\Users\kvark\AppData\Local\Arduino15\packages\nulllab avr compatible boards\hardware\avr\1.0.3\libraries\Pwm\pwm.h:27:73: error: 'uint8_t' was not declared in this scope
void pwmMode(uint8_t pin, uint8_t wmode, uint8_t fmode = PWM_FREQ_FAST, uint8_t dband = 0);
^~~~~~~
exit status 1
Compilation error: exit status 1
The text was updated successfully, but these errors were encountered:
Describe the bug
Hi there. I've tried to compile some examples from the 'pwm' library and failed.
To Reproduce
Just open the 'pwm_d5d6_duo0.ino' or 'pwm_d5d6_solo.ino' or 'pwm_d9d10_duo1.ino' example and try to compile it.
IDE output:
The text was updated successfully, but these errors were encountered: