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

<^< Set up the Output | Course Index | Adding the Switches >^>

  1. Click on the Outputs button and select 'LED Array' . Place the LED Array in the middle of the System Panel by moving the cursor over the component and then clicking and dragging the box into position or right-clicking and selecting 'Center all objects'.
  2. Click next to the 'Count' property under the 'Simulation' section on the Properties Panel and type the value '7', this changes the number of LEDs - you will find out why we are doing this on the next page.
  3. Click next to the 'Port' property and select 'PORTD' from the drop-down menu to connect the LEDs to the pins on Port D.
  4. Change the colour of the LED Array to red (0000FF). You can change the colour of the LED Array by changing the 'LED 0' property whilst the 'Same Color' property is set to 'Yes', you may also change the LEDs individually when the 'Same Color' property is set to 'No'.

<^< Set up the Output | Course index | Adding the Switches >^>

Print - Search - Login

Page last modified on July 26, 2013, at 09:01 AM