Skip to content
Parallax Learn

Parallax Learn

  • Welcome
  • Tutorials
        • Tutorial Series head tag

          Tutorial Series
        • Tutorial Series

          The special, classroom-ready series pages are organized collections of tutorials for our most popular hardware and/or languages. The tutorials for each topic are conveniently accessible from a single page, shown in the order it is recommended that they be completed.
        • Robotics Series Head tag

          Robotics Series
        • Robotics Series

          • Artificial Intelligence
          • Cybersecurity: Radio Data tutorialCybersecurity
          • cyber:bot + Python
          • cyber:bot + MakeCode
          • Boe-Bot Tutorial SeriesBoe-Bot
          • Arduino Shield-Bot
          • ActivityBot with C TutorialsActivityBot + C
          • ActivityBot with BlocklyProp Tutorial SeriesActivityBot + BlocklyProp
          • Scribbler 3 Tutorial SeriesScribbler 3
        • Electronics & Programming Series Head tag

          Electronics & Programming Series
          • BS2 Board of Education Tutorial SeriesBS2 Board of Education
          • Propeller C-Language BasicsPropeller C Basics
          • FLiP Try-It Kit C Tutorial SeriesFLiP Try-It Kit + C
          • FLiP Try-It Kit BlocklyProp TutorialsFLiP Try-It Kit + BlocklyProp
          • Badge WX Tutorial SeriesBadge WX
          • Propeller BlocklyProp Basics and ProjectsPropeller BlocklyProp Basics
          • View All Tutorial Series »
        • Browse Tutorials
        • Browse Tutorials

          Individual tutorials sorted by robot or kit, and language.
        • By Robot or Kit
          • ActivityBot
          • SumoBot WX
          • Boe-Bot
          • Shield-Bot
          • cyber:bot
          • Badge WX
          • ELEV-8
          • ARLO
        • By Language
        • By Language

          • Propeller C
          • Arduino
          • BlocklyProp
          • PBASIC
          • Python
          • MakeCode
          • View All Tutorials »
  • Educators
  • Reference
  • Downloads
  • Home
  • All Courses
  • Robotics with the Board of Education Shield for Arduino

Robotics with the Board of Education Shield for Arduino

Codebender Hello Sketch

Now that you have an account to use with codebender : edu, and have installed the required plug-in and drivers, it is time to try a sketch!

  • If your Arduino module is not already plugged into your computer with the USB cable, do so now.
  • In a browser, go to your codebender : edu page.
  • Type in the following code:
void setup()

{
  Serial.begin(9600);
  Serial.print("Hello!");
}

void loop()
{
  //Add code that repeats automatically here.
}
  • Be sure you have capitalized “Serial” both times, or the sketch won’t work.
  • Also, notice that the sketch uses parentheses() and curly braces {}. Be sure to use the right ones in the right places!
  • To make sure that the code is written correctly, click the Verify button. Correct any mistakes before moving on!
  • Choose Arduino Uno (or the board you are using).
  • Select your Arduino’s COM port is from the dropdown.
  • Then, open the Serial Monitor pane by clicking the Serial Monitor button.
  • Once the above steps are completed and your code is verified, click the Run button.
  • Your Serial Monitor should be set to 9600 baud, then click the Connect button.
  • Watch the Hello message appear in the Serial Monitor!
  • Click the far right menu and choose Save to download your sketch.

Later, you can choose Open from this menu to re-open your sketch. Or, navigate to the un-zipped example code archive you downloaded previously to open sketches used in this book.

  • If you are using a Chrome browser, be sure to read and always follow the warning that appeared in the top of the Serial Monitor: click its Disconnect button before unplugging your Arduino. Otherwise it will stay open until you restart your browser, and that could keep you from downloading code.

To keep things simple, the rest of the Shield Robot tutorials will feature directions and screen-captures for the Arduino IDE software.


Printer-friendly version
Activity 2: Write a Simple “Hello!” Sketch
Prev
How the Hello Sketch Code Works
Next

DISCUSSION FORUMS | PARALLAX INC. STORE

About | Terms of Use | Feedback: learn@parallax.com | Copyright©Parallax Inc. 2024

© 2025 Parallax Learn • Built with GeneratePress