Recent Changes - Search:

Introduction to Microcontroller Programming

About PICmicro Chips

Clocking Your PICmicro Devices

E-Blocks

Flowcode Step By Step

PICmicro Projects

Labs

Adding LEDs

<^< Set up the Flowchart | Course Index | High Speed Simulation >^>

  1. Click the 'Outputs' button in the Components toolbar and select the 'LED Array' component. It looks like this:
Click or drag on the menu item to add a set of LED's on the System Panel.
Click once on the component in the panel to select it and the properties pane will display component properties like this:
  1. On the 'Properties Panel' go to the 'Simulation' section and change the 'Count' property to '8' by typing in the box next to the property name.
  1. On the Properties Panel go to the 'Connections' section and change the 'Port' to 'PORTB' this also shows which port and bit is connected to the PICmicro chip.
  1. You can change the colour of the LED's by changing the 'Color' property under the 'LED appearence' section in the Properties Panel, make sure the 'Same Color' property is set to 'Yes' to change the whole LED Array or change the colour of each individual LED element separately.

<^< Set up the Flowchart | Course index | High Speed Simulation >^>

Print - Search - Login

Page last modified on July 22, 2013, at 08:46 AM