
In the first case, it keeps waiting until the specified condition is met. This figure shows the comparison of the polling vs interrupt technique. Difference between Polling and Interrupt Method The main disadvantage of this technique is the wastage of microcontroller time and resources. The polling method is kind of a round-robin method. Because polling is not an efficient method and it halts microcontroller execution at the same location waiting for the condition to meet. But now we will see an interrupt method to receive data.



At the moment I am using the latest version which I think is 1.44. I know there is PLIB.h but from what I understand that was only included on versions earlier than XC8 v1.34 and also it is only used for 16bit pics. I know I can just make them myself(infact that would probably help the learning process). Anywho! I want to know if there are any libraries out there that I can use for accessing the peripherals on the 8 bit pics. Its going to be tough for the next little while I get used to using C again but I am up for the challenge. I just switched compilers from Picbasicpro to XC8 so keep in mind I am a newb at this point.
