ULP with Arduino framework

Hi!

I need to solve a problem in my project and I think that using ULP could be a good solution but I don’t know anything about assembly.

I did some search and found this example that does what I need and even more.

In fact I need only count pulses while the main CPU is sleeping then pass the amount of pulse to a function when the sleep time is reached.

Initially I would like to get some help mainly from @maxgerhardt to make the example above work with PIO using this ULP tool.

Thanks in advance.

Best regards.

Hi!

Any help, please?

Best regards.