for measuring the frequency during calibration phase, use the Board_LIGHTNING_INT pin already defined in the GPIO definitions, but use CCR to measure the frequency, not normal interrupts.
HOW TO CCR: get inspired from the ultrasonic or windsensor code.
for measuring the frequency during calibration phase, use the Board_LIGHTNING_INT pin already defined in the GPIO definitions, but use CCR to measure the frequency, not normal interrupts.
HOW TO CCR: get inspired from the ultrasonic or windsensor code.