Closed
Description
Hello,
I am looking for a way to use TIMER INPUT and found this nice example sketch " HardwareTimerPWMInput.in" but there are a few compilation errors:
- Streaming.h: No such file or directory
Then after removing this include:
HardwareTimerPWMInput:28:9: error: no match for 'operator<<' (operand types are 'USBSerial' and 'const char [80]')
Serial << "Example of the Timer Input Capture mode to measure PWM pulse width and period\n\n";
HardwareTimerPWMInput:73:61: error: 'endl' was not declared in this scope
Serial << ", period: " << Timer2.getCompare(TIMER_CH1) << endl;
Configuration:
Win 7 64 pro
Arduino IDE 1.8.9
Arduino_Core_STM32 1.5.0 updated via boards manager