ME 76 Summer 2022 Task 5 Program the Arduino board to output the Fibonacci sequence to the serial terminal. The sequence
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
ME 76 Summer 2022 Task 5 Program the Arduino board to output the Fibonacci sequence to the serial terminal. The sequence
https://en.wikipedia.org/wiki/Fibonacci number To receive full credit, you must either demonstrate the program during lab or provide the full code with comments. Suggestions: 1) Use the examples provided by the Arduino IDE to learn the basic program code structure (the setup or initialization, and the infinite loop). 2) Next, use your experience in MATLAB programming to program the control flow to implement the algorithm to output the Fibonacci sequence until the user force it to stop (by resetting the board, for example). 3) Use the examples provided by the Arduino IDE to learn about the serial terminal (which is how the board can send text back to the host computer). Hint: the command is serial .write
ME 76 Summer 2022 Task 5 Program the Arduino board to output the Fibonacci sequence to the serial terminal. The sequence starts with 1 and 1, and the values in the sequence are: 1, 1, 2, 3, 5, 8, 13... For explanation of the algorithm, you can refer to the Definition on the Wiki page at: