Week 3

 

LED on off Extension Exercises.

  • Change the ledonoff.py program to make the LED stay on for 3 seconds and off for 1 sec and for this cycle to repeat.
  • Get the LED to display an SOS message repeatedly.
    • There are rules to help people distinguish dots from dashes in Morse code.

      1. The length of a dot is 1 time unit.

      2. A dash is 3 time units.

      3. The space between symbols (dots and dashes) of the same letter is 1 time unit.

      4. The space between letters is 3 time units.

      5. The space between words is 7 time units.

Equipment Usage

  • How to use the power supply on the breadboard
  • How to find specifications on the equipment purchased.
    Equipment List

Python Programming

  • Comments
  • Variables
  • Datatypes

GPIO Pi specific programming


Pulse Width Modulation

  • Control the amount of light output from an led
  • Look at how to get inputs from the user in python
  • Input validation.  Making your programs bulletproof.

Comments

Popular posts from this blog

Week 4

Github and code

Week 1