# How to write SOS Morse Code using CyberPi

How to code automatic line-following programs

Morse code is an early digital communication method. It contains dots ("·" referred to as short signals) and dashes ("—", referred to as long signals), short spaces between dots and dashes, and long spaces between characters. This # How to guide describes how to write Morse code and decode it using block-based programming.

Line-following programs keep a robot on the central axis of the line when it moves forward
Line-following programs keep a robot on the central axis of the line when it moves forward

SOS is an international distress signal. In Morse code, "S" is coded as three dots and "O" as three dashes. So SOS is made up of "· · · — — — · · ·". You can compile it to send a distress signal.

How to write Morse code and decode it using block-based programming?

Quad RGB Sensor
base_power: Approximate forward speed kp: Adjustment value for left and right wheels during line following left_power: Actual speed of the left wheel right_power: Actual speed of the right wheelQuad RGB Sensorbase_power: Approximate forward speed kp: Adjustment value for left and right wheels during line following left_power: Actual speed of the left wheel right_power: Actual speed of the right wheel

Variables and Blocks You Need to Create for the Program

base_power: Approximate forward speed kp: Adjustment value for left and right wheels during line following left_power: Actual speed of the left wheel right_power: Actual speed of the right wheelbase_power: Approximate forward speed kp: Adjustment value for left and right wheels during line following left_power: Actual speed of the left wheel right_power: Actual speed of the right wheelbase_power: Approximate forward speed kp: Adjustment value for left and right wheels during line following left_power: Actual speed of the left wheel right_power: Actual speed of the right wheelDownload base_power: Approximate forward speed kp: Adjustment value for left and right wheels during line following left_power: Actual speed of the left wheel right_power: Actual speed of the right wheelbase_power: Approximate forward speed kp: Adjustment value for left and right wheels during line following left_power: Actual speed of the left wheel right_power: Actual speed of the right wheelbase_power: Approximate forward speed kp: Adjustment value for left and right wheels during line following left_power: Actual speed of the left wheel right_power: Actual speed of the right wheelbase_power: Approximate forward speed kp: Adjustment value for left and right wheels during line following left_power: Actual speed of the left wheel right_power: Actual speed of the right wheelbase_power: Approximate forward speed kp: Adjustment value for left and right wheels during line following left_power: Actual speed of the left wheel right_power: Actual speed of the right wheelbase_power: Approximate forward speed kp: Adjustment value for left and right wheels during line following left_power: Actual speed of the left wheel right_power: Actual speed of the right wheelbase_power: Approximate forward speed kp: Adjustment value for left and right wheels during line following left_power: Actual speed of the left wheel right_power: Actual speed of the right wheel

# Bring Me Home ^_^ #

Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming
Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming

Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming

$60.99
$69.99
×

Request for Quote

Quotation Notice

1. An email has been sent to you containing the quotation file and all other important files. Please check your mailbox.
2. The quote is valid for 30 days. Please generate your Purchase Order within this period. If the quote expires, a new quote will need to be generated.

Download W9

Download W9

More Support

If you need more help, kindly mail to vendor: us@makeblock.com