{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

SPPG-WritingPrograms-v1.2

SPPG-WritingPrograms-v1.2 - Writing Programs 1 Scribbler...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Writing Programs · 1 Scribbler PBASIC Programming Guide © Parallax Inc. 9/2005 v1.2 · Download Free from www.ScribblerRobot.com/Education Scribbler PBASIC Programming Guide Writing Programs Inside the Scribbler Robot is a small computer called a BASIC Stamp ® microcontroller. It performs a list of instructions that make the Scribbler operate. With the BASIC Stamp Editor, you can write your own list of instructions, called a program, and load it into the BASIC Stamp inside your Scribbler Robot. These programs are written in the PBASIC programming language. This Guide will show you how to write your first PBASIC programs for your Scribbler Robot. You will be able to communicate with the BASIC Stamp, and make the Scribbler blink its lights, generate sounds, and drive its wheel motors. With the obstacle and stall sensors, you can program the Scribbler to drive safely. To program your Scribbler Robot, you need to have the BASIC Stamp Editor software (v2.1 or higher) installed and running on your personal computer. You will need to have your Scribbler Robot connected to you computer with the serial cable. Also, you will need to have confirmed that your computer is communicating with the BASIC Stamp microcontroller inside the Scribbler Robot. If you need instructions to do these things, follow the Setting Up Guide before you begin here. INTRODUCING THE BASIC STAMP EDITOR 2 SCRIBBLER HARDWARE PROGRAMMING CONNECTIONS 8 BLINKING THE LIGHTS WITH PROGRAM LOOPS 9 CONTROLLING SOUND AND MOTION WITH OUTPUT SIGNALS 12 MAKING DECISIONS WITH SENSORS 20 PUTTING IT ALL TOGETHER 30
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon