Build this CodeCraft sketch together ➡
Modify the Codecraft Arduino sketch to do something different, such as:
blink at a different rate
changing the delays and adding more digitalWrite( ) commands to make your program blink a message in Morse code.
Example: SOS (Emergency) : short-short-short-long-long-long-short-short-short
Optional: Ask ChatGPT to write a sketch for LED SOS.
https://chat.openai.com/ (create an account if you haven't used this before)
Is it correct?
Can you explain the code that ChatGPT generated for you?
You can use the "Repeat" block to do something multiple times.
Find it in the "Control" menu.
your ideas?
Here's an example Morse Code SOS Codecraft project, but try designing your own before you look...
Click this link: Blink_SOS_blocks.cdc
Click the "Download" button (Find the button on the right side of the page the looks like this → )
Save the file to your computer . Be sure to remember where you saved it!
In Codecraft, use "Files ... Open Project" to open the file you downloads.
Create an account on http://tinkercad.com using your email address.
Join class at https://www.tinkercad.com/joinclass/JU9ZVP6FLRU5.
Click on "Classes" on the left side and you should be able to click on "Intro to Arduino."
Click on the "Blink" activity