Shop OBEX P1 Docs P2 Docs Learn Events
PENGUIN ROBOT Morse Code Foot Tapper - the Code — Parallax Forums

PENGUIN ROBOT Morse Code Foot Tapper - the Code

HumanoidoHumanoido Posts: 5,770
edited 2007-12-31 03:42 in Robotics
Title: Penguin Morse Code Tapper
Code Name: penguin_code_tapper.bpx
Purpose: Penguin Robot taps out Morse Code with a foot!


This program is more than fun!
Set Penguin Robot on a wood table and listen
as this little bot taps out Morse code messages with
his left foot!!!!!!!!!!!!

humanoido

' INTRO
' -----
' Penguin robot has the Morse Code itch, in his foot!
' He calls for help using a foot to tap out a message.
' Code: three short, three long, and three short - SOS!!!


' MESSAGE REPEAT
' ---------------------------
' Penguin will tap out the message 5 times and stop. To repeat,
' touch reset. To lengthen or shorten the message repeat, change
' the FOR NEXT value of X in the main program. Note that X is a
' nibble range.


' CHANGING THE FOOT TAP MESSAGE
' ------------------------------
' To change the message, just vary the subroutine calls in the
' main program. Use any combination of tapdit and tapdah followed
' by the appropriate pause.


' CALIBRATION
' -----------
' Place calibrated values for tilt and stride into the
' declarations section. For example:
' CenterTilt        CON     1900    ' this is the tilt center value
' CenterStride      CON     1900    ' this is the stride center value
Sign In or Register to comment.