Question
Please Help I need code Part 1 : Write an Energia sketch that measures how long the on-board push button has been depressed. Output the
Please Help I need code
Part 1 : Write an Energia sketch that measures how long the on-board push button has been depressed. Output the duration of the button press to the serial monitor window.
Part 2 : Modify your Energia sketch from Part 1 to decipher if the button press corresponds to a dot or a dash. For each button press, the serial monitor window should output if a dot or a dash was received.
Part 3 : Modify your Energia sketch from Part 3 to group dots and dashes into letters. Based on the time between button presses, the serial monitor window should output groups of dots and dashes that belong with a single letter. The serial monitor should show clear separations between different letters.
Part 4 : Modify your Energia sketch from Part 3 to convert the dots and dashes into the corresponding letter. The serial monitor window should output the letter.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started