Recent Changes - Search:

Introduction to Microcontroller Programming

About PICmicro Chips

Clocking Your PICmicro Devices

E-Blocks

Flowcode Step By Step

PICmicro Projects

Labs

Adding the LED Array

<^< Adding the Switches | Course Index | Final Flowchart >^>

  1. Click once on the Outputs button and select 'LED Array' . Place the LED Array where you want it on the System Panel.
  2. Click on the 'Count' property under the 'Simulation' section on the Properties Panel and select the input the value '2' in the box.
  3. Next select the 'Port' property under the 'Connection' section and select 'PORTB' from the drop-down menu to connect the LED's to the pins on Port B.
  4. Change the colour of the LED's to yellow by changing the 'LED 0' property under the 'Colors' section and ensure that the 'Same Color' property is set to 'Yes'. You can also colour the LEDs individually when the 'Same Color' property is set to 'No'.
  5. Finally manipulate the LED Array by changing the 'Scale' (Width, Height and Depth) properties to '5' and change the 'Spacing' property to '30'.

<^< Adding the Switches | Course index | Final Flowchart >^>

Print - Search - Login

Page last modified on July 22, 2013, at 10:41 AM