Getting Started Activities
Now, it is time to get started with the activities. Each of the five getting started
activities is designed to introduce you to the TETRIX Ardublockly software and how
it works with the PULSE and select basic hardware. Success with these first five
activities will demonstrate how easy it is to use TETRIX Ardublockly software with the
PULSE and prepare you for coding the PULSE Codee Bot.
The TETRIX Ardublockly Sketch
As you begin creating your first sketch, it is necessary to understand some basic
rules about sketches. It is best to think of a sketch as a list of instructions to be
carried out in the order that they are written down. Each sketch will have several
instructions, and typically each instruction will be one block within the sketch.
Each block also represents lines of text known as code, which is why programming
is sometimes called coding. Text-based programming is also known as syntax
programming. TETRIX Ardublockly uses visual programming, also known as graphic
programming.
Many times, the best way to learn how to code is by following an example. In the
following activities, you will work through several coding examples to better learn
how to create sketches and upload them to the PULSE controller.
Note: If you are already
comfortable with coding in
Arduino sketches and want
to jump ahead, an overview
of each library function can
still be a helpful starting
point. We have created
and included definitions of
the functions along with
descriptions that show how
each would appear in an
Arduino sketch. You can find
these in the appendix of this
guide on pages 132-138.
More library functions might
be added in the future as the
library is updated to newer
versions.
Note: In addition to the
PULSE library, there is an
entire collection of Arduino
language commands that
are necessary to understand
before we can create
functional programs. The
Arduino language reference
as well as numerous
language learning tutorials
can be found by visiting the
Arduino homepage at
www.arduino.cc.
24 Getting Started Activities