Skip to content

Latest commit

 

History

History
5 lines (4 loc) · 490 Bytes

chapter1.md

File metadata and controls

5 lines (4 loc) · 490 Bytes

Fun with integers

  • This program currently goes up to 255 vibrations per second, but 200 seems like a more reasonable amount. How can we change this?
  • Meh this program is boring, how can we decrease the amount of time it takes to get to the maximum vibration speed? There are a few different ways!
  • Let's make the program more interesting. We can define a full "cycle" as the program going from minimum to maximum intensity. How can we make the length of a cycle get longer and longer?