Setting Variables
Setting Variables
Overview:
This lesson will show you how to add to your first code by setting and using variables to simplify the code. This will be useful when you progress onto longer more complex codes.
Instructions on:
– How to add variables to your code
– The key Arduino IDE terms and rules
– A beginner’s guide to built-in commands
– How to make comments
– How to turn on and off an LED with variables
– How to make your LED blink
What you will need:
– PC
– Internet connection (if using online Arduino editor)
– Micro-controller
– USB lead