I need to measure frequency output of a flow meter 0-1000Hz.
(Core2, Pin GPIO27)
I have setup some code in UIFlow and defined IRQ and handler in "Execute Code" block.
Reading works but very unstable (Jumps between 300..1000).
Probably I need to run the handler in IRAM?
Where/ how can I put the IRAM_ATTR?
My execute code block:
global counter, semaphore
Thanks a lot!