Recent Changes - Search:

Introduction to Microcontroller Programming

About PICmicro Chips

Clocking Your PICmicro Devices

E-Blocks

Flowcode Step By Step

PICmicro Projects

Labs

Set up the Flowchart

<^< Left or Right? | Course Index | Single Bit Input >^>

Launch Flowcode and start a new flowchart.

Select the 16F1937, when the 'Choose a Target' dialogue box appears.

You are going to use the 'Decision' icon to check whether an indicator switch has been pressed. If neither switch is pressed, the program follows the 'No' route and loops back to the beginning, When a switch is pressed, the program goes follows the 'Yes' route through the flowchart, causing the indicator to light for a short time, and then turn off for a short time. These times are set by the delays. As long as the switch is pressed, this process repeats, causing the indicator to flash on and off

Create the following flowchart:

<^< Left or Right? | Course index | Single Bit Input >^>

Print - Search - Login

Page last modified on May 01, 2013, at 02:25 PM