PICAXE.CO.NZ​
  • Home
  • Co Spaces
  • EV3 Programming
  • Picaxe setup
    • Components
  • LESSONS
    • Programming an LED
    • Playing Music
    • Measuring Light, Temperature or Moisture
    • Sending Messages
  • About
  • RESOURCES
    • Basic Troubleshooting
    • Picaxe Manuals
    • PDF Resources
    • Program Examples
    • Music FIles
  • GALLERY
  • CONTACT
  • EV3 Intro slideshow
  • Science Fair
  • Co spaces

Programming an LED

Put an LED into your breadboard with the positive (longer) leg going into the pink dot on the breadboard and the negative (shorter) leg going into the negative rail on the breadboard like this: 
Picture
Start with the following basic program:
Picture
Make sure your download cable is plugged in. Download the program by selecting F5 on your computer or PICAXE -> Program from the AXEpad menu.

What do you notice happens to the LED?

Now try changing the numbers in the program like this: 
Picture
You should get a little something like this:
Changing the numbers helps to learn what the wait and switch on program commands do.
​Now try this program:
Picture
What about if you wanted to keep this sequence going?
​Try this:
Picture
Powered by Create your own unique website with customizable templates.