TactivergeLite

Lite / Building Machines That Respond / Week 2

Week 2: Python fundamentals

Term 1: Computational Thinking

This week you will

Lessons

  1. Your first Python program: battery runtime · about 40 min
    Your sensor node has a 2000 mAh battery and draws 250 mA. Can six lines of Python tell you when it dies?
  2. How the interpreter reads your program · about 30 min
    You compute current = voltage / resistance, then change the voltage. Does current change too?
← Week 1Week 3 →