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

<^< Set up the Equipment | Course Index | Adding LED's >^>

  1. Start a new project by selecting 'File' and then clicking 'New' in the menu which appears (File > New). You will be presented with a choice of microcontrollers that you can develop programs for. Choose '16F1937' from the list.
  1. You will now see your flowchart appears with a 'BEGIN' and 'END' icon. All flowcharts have these icons by default. Move the cursor over the 'Output' icon, in the Icon toolbar, then click and drag it over to the work area. Whilst dragging the icon the normal cursor changes into a small icon. Move it in between the 'BEGIN' and 'END' boxes. As you get close to the flowchart, an arrow appears showing you where the Output box will be placed. Release the mouse button to drop the Output box in between the 'BEGIN' and 'END' boxes.
  2. Move the cursor over the Output box, either double-click with the left mouse button or click with the right mouse button and choose 'Properties' from the menu that appears, by clicking once on it with the left mouse button. You will now see a dialogue box like this:
  1. Move the cursor over the 0 in the Variable or value box and click once. This will highlight the '0' value. Change this value to '1'.
  2. Move the cursor over the arrow in the Port window. Click on 'PORTB' in the menu that opens up. The dialogue box now looks like the one below.
  1. Now click on the 'OK' button to close the box.

<^< Set up the Equipment | Course index | Adding LED's >^>

Print - Search - Login

Page last modified on May 08, 2013, at 01:20 PM