Discussion:
[libhid-discuss] Patterns Observer libhid?
Vinnicyus Gracindo
2011-03-18 01:29:56 UTC
Permalink
Hi, I have a problem. I created an algorithm to libhid readings to a
microcontroller that uses PIC, but the read mode is in a loop like: while (
true) {readPIC();}. I would remove this loop and apply likethe Observer
pattern, that is only done readPIC() If any pin is activated. Is to do this?

Thanks,
Vinnicyus Gracindo.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/libhid-discuss/attachments/20110317/3709b528/attachment.htm>
Loading...