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
1- Using "example.ino"
2- Checking code (before compiling)
3- Error:
In file included from C:\Users\Tiago\AppData\Local\Temp\arduino_modified_sketch_857920\example.ino:6:0:
C:\Users\Tiago\Documents\Arduino\libraries\ShiftPWM-master/ESPTimerHelper.h:5:17: error: variable or field 'StartTimer' declared void
void StartTimer(hw_timer_t * timer);
^
C:\Users\Tiago\Documents\Arduino\libraries\ShiftPWM-master/ESPTimerHelper.h:5:17: error: 'hw_timer_t' was not declared in this scope
C:\Users\Tiago\Documents\Arduino\libraries\ShiftPWM-master/ESPTimerHelper.h:5:30: error: 'timer' was not declared in this scope
void StartTimer(hw_timer_t * timer);
^
C:\Users\Tiago\Documents\Arduino\libraries\ShiftPWM-master/ESPTimerHelper.h:6:1: error: 'hw_timer_t' does not name a type
hw_timer_t * SetTimer(int timer,void(*callback)(),int periode_us = 10);
^
C:\Users\Tiago\AppData\Local\Temp\arduino_modified_sketch_857920\example.ino: In function 'void InitPWMTimer()':
example:33:58: error: 'SetTimer' was not declared in this scope
void InitPWMTimer() { StartTimer(SetTimer(0, TimerHandler)); }
^
example:33:59: error: 'StartTimer' was not declared in this scope
void InitPWMTimer() { StartTimer(SetTimer(0, TimerHandler)); }
^
C:\Users\Tiago\AppData\Local\Temp\arduino_modified_sketch_857920\example.ino: In function 'void InitDutyChangeTimer()':
example:53:57: error: 'SetTimer' was not declared in this scope
StartTimer(SetTimer(1, DutyChangeTimerHandler, 10000));
^
example:53:58: error: 'StartTimer' was not declared in this scope
StartTimer(SetTimer(1, DutyChangeTimerHandler, 10000));
^
exit status 1
'SetTimer' was not declared in this scope
The text was updated successfully, but these errors were encountered:
Error with ESP32
1- Using "example.ino"
2- Checking code (before compiling)
3- Error:
The text was updated successfully, but these errors were encountered: