Recent Changes - Search:
<^< Adding the Switches | Course index | Final Flowchart >^>

Introduction to Microcontroller Programming * Course Index * Introduction * About the Author * About this Course * Feedback * Course Navigation * Quick Course Navigation * How to use this Course * Acronyms Used and Course Conventions

About PICmicro Chips * What is a PICmicro? * Microcontrollers * Digital versus Analogue * Inputs and Outputs * Memory * Programming * 16F1937 Architecture

Clocking Your PICmicro Devices * Introduction * The Clock Circuit * Clock Settings * Clock Confusion

E-Blocks * Introduction to E-blocks * Using E-blocks * E-blocks Boards

Flowcode Step By Step * Introduction to Flowcode * Basic Flowcode Functions * Digital Outputs * Digital Inputs * Basic Loops * The LCD Display * Binary Numbers * Decisions ## Set up the Equipment ## Left or Right? ## Set up the Flowchart ## Single Bit Input ## Set up the Decisions ## Set up the Delays ## Set up the Left Output ## Set up the Right Output ## Adding the Switches ##

Adding the LED array ## Final Flowchart ## Simulation * Goto (Connection Point) * 7-Segment Displays * Software Macro * Strings and Memory * A Simple Hi-Fi

PICmicro Projects * Introduction to PICmicro Projects * Construction Methods * Choosing a Power Source * Adding Inputs * Input Conditioning * Adding Outputs * Adding Drivers

Labs * Introduction and Lesson Plan * 1. Output * 2. Delay * 3. Connection Point * 4. Calculations * 5. Loop * 6. Input * 7. Decision * 8. LCD * 9. Keypad * 10. Analogue + EEPROM * 11. Software Macro * 12. External Interrupt * 13. Timer Interrupt

(:Summary:Contains the 'action' links (like Browse, Edit, History, etc.), placed at the top of the page, see site page actions:) (:comment This page can be somewhat complex to figure out the first time you see it. Its contents are documented at PmWiki.SitePageActions if you need help. :) * Print (:comment (:if group Site,SiteAdmin,Cookbook,Profiles,PmWiki*:) (:comment delete if and ifend to enable backlinks:) * %item rel=nofollow class=backlinks accesskey='$[ak_backlinks]'% [[{*$Name}?action=search&q=link={*$FullName} | $[Backlinks] ]] (:ifend:) :) * Login

Adding the LED Array

<^< Adding the Switches | Course Index | Final Flowchart >^>(:nl:)

# 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'.(:nl:)(:table style="clear:both":)

(:Summary: Website page footer:)

Print - (:comment (:if group Site,SiteAdmin,Cookbook,Profiles,PmWiki*:) (:comment delete if and ifend to enable backlinks:) %item rel=nofollow class=backlinks accesskey='$[ak_backlinks]'% [[{*$Name}?action=search&q=link={*$FullName} | $[Backlinks] ]] (:ifend:) :) Search - Login

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