B4R Question How to interrupt the Arduino controller

Beja

Expert
Licensed User
Longtime User
Hi all,

I am working on a project to open or close a water pump, according to the water level in the tank.
I have the sensors that will send analog signals that correspond to the water level.
Is there any way other than polling the analog signal?
Or there's an interrupt pin that I am not aware about?

Thanks in advance. B
 

Cableguy

Expert
Licensed User
Longtime User
B4r does not use interrupts...

You can try to add an interrupt code block in C and have it call a B4R sub... Untested
 
Upvote 0
Top