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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!