I was trying to create a line of flashing lights on lilypad. My goal was to have one of the lights blink first, then have the light to the left blink in consecutive order. Then, I want all of the buttons to light up at the same time. Right now my programs pretty simple.
What I learned
Today I learned some computational terms such as: algorithm, function, and iteration. An algorithm is a set of steps taken to achieve an output. A function is like a toaster, you put in an input, and the function achieves an output. Iteration is repetition. In order for a program to loop it needs to iterate more than 1 time. Technically in programming, 0 is actually 1, so it'd have to loop 2 times to repeat once. And that variables in mathematics are very similar computational variables, in the sense that they represent unknown values and can change. I also learned how to phrase answers in Jeopardy. :)
Comments
Post a Comment