|
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 ## Set up the Equipment ## Set up the Flowchart ## Adding LED's ## High Speed Simulation ## Slowing it Down ## New Output ## Binary Numbers ## Converting Numbers ## Outputting Numbers ## A Short Test ## Working in Hex ## Downloading the Program * Digital Inputs * Basic Loops * The LCD Display * Binary Numbers * Decisions * 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 LEDs<^< Set up the Flowchart | Course Index | High Speed Simulation >^>(:nl:) # 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: ![]() # 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. ![]() # 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. ![]() # 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. ![]() (: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 08:46 AM