Introduction to Microcontroller Programming
About PICmicro Chips
Clocking Your PICmicro Devices
E-Blocks
Flowcode Step By Step
PICmicro Projects
Labs
|
- Click once on the Outputs button and select 'LED Array' . Place the LED Array where you want it on the System Panel.
- Click on the 'Count' property under the 'Simulation' section on the Properties Panel and select the input the value '2' in the box.
- 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.
- 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'.
- Finally manipulate the LED Array by changing the 'Scale' (Width, Height and Depth) properties to '5' and change the 'Spacing' property to '30'.
|