Homework 2: Spaceship Interface
The project 2 is pretty straightforward, the only thing confused me is that the resistors used in the book and in the video are different. But after I read the value I found that they are both 220 ohm which means both should work.
Then I add another green led to complete the challenge. The code is pretty simple. It may look better if I connect the button to pin 1 and the new led to pin 2 but I’m just too lazy to switch it.