Tuesday 25 November 2014

Polling

While working with any microcontroller, we generally interface multiple devices. Also, the microcontroller need to communicate with these devices regularly for input/output operations.

Now the question arises as to which device to communicate to? The solution to this lies in Polling.

Polling refers to checking the status of a device(s) continuously in a repeated manner. In other words, a the microcontroller performs certain operations repeatedly to check for any change in the status of the device.

Simple use of polling can be seen in this program:

Disadvantages of Polling:
  • Polling causes a wastage of energy and resource. It causes the microcontroller to perform several operations continuously, even when the system is idle.
However, polling can be useful while writing small programs or when a large number of devices need to be interfaced.

1 comment:

  1. Really Liked the information you have provided. I have an article relaed to it. I was searching about it on the internet and I found an amazing site from Storeboard Site. The provided Article was about a site that provides working modded android apps. The name of the site was “Fineapkapps”. The Article was very halpful, You should read that. Click Here to reach that amazing article: Fineapkapps Site.

    ReplyDelete