[libhid-discuss] Patterns Observer libhid?

Vinnicyus Gracindo vini.gracindo at gmail.com
Fri Mar 18 01:29:56 UTC 2011


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>


More information about the libhid-discuss mailing list