Recent Changes - Search:

Introduction to Microcontroller Programming

About PICmicro Chips

Clocking Your PICmicro Devices


Flowcode Step By Step

PICmicro Projects



  1. Now run the simulation by clicking on the Run button.
  2. The 'Simulation debugger' window appears - close this window as it is not needed.
  3. Move the cursor over the switch and give the briefest mouse click you can.

What happens depends on how quickly you click, and how fast your PC works! We want just the B0 LED to light on the array, to show a total of 1 sheep. The program runs at high speed, however, and so keeps cycling through the 'Input' and 'Calculation' steps. As a result, before you have time to release the push switch, the total has incremented (increased by one) several times - continue to the next page to find out why.

Print - Search - Login

Page last modified on June 14, 2013, at 03:53 PM