GPIO On Value Changed Event

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 18, 2016 by lpcware
Content originally posted in LPCWare by klemikaze on Fri Apr 29 13:59:32 MST 2016
Hi gentlemen,
my question is rather theoretical. I have project which has several parts. One of them is tracking irregulary changing (boolean - after A/D conversion, basically black/white) value.
The question is: Is there an elegant way to find out if value on sensor changed, other than periodically checking the pin value? I want the task to be as little as possible CPU time consuming.
Thanks for any proposals.