Be the Coolest Gift Giver! The Best Time at the Best Price

Up to 50% Off

# 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 ^_^ #

CyberPi.jpg__PID:c465656e-9b81-4181-b1ff-f9101f3b15ae

Makeblock CyberPi: Educational Electronics Kits for Beginners to Learn Programming

$59.99
$69.99