Full-duplex serial communication allows both outgoing and incoming messages to be sent and received at the same time. Examples of devices where full-duplex serial communication can be useful include XBee radios, other microcontrollers, and even the SimpleIDE Terminal. Although the Propeller uses half-duplex serial communication with the SimpleIDE Terminal by default, that can be disabled and replaced with full-duplex serial communication. This example demonstrates how to use full-duplex serial communication with XBee radios, and also with the SimpleIDE Terminal.
With a way for the page to ask the BASIC Stamp questions, it can ask for sensor states. In this example, the page asks the BASIC Stamp about pushbutton states every 3 seconds and updates the states of radio buttons and text displaying the button states.
Build your own robot, wire it up with sensors, and let it roam on its own. Robotics with the Boe-Bot includes step-by-step assembly instructions, circuit-building, and programming for the BASIC Stamp-based Boe-Bot Robot.
So far in this series, we’ve been using C language programs to make the ActivityBot go. This time, we will use a C program that opens a text file from the SD card. The text file contains a program in another super-simple language we are inventing right now. Let’s call it "AB."
The AB programming language has only five commands:
Each command has a single argument: the number of encoder ticks that set the distance the ActivityBot should travel.
Here is another example of a sensor affecting an an HTML element's attrubute on a web page. This time, the shade over a light sensor controls the shade of a drawing canvas.
Reminder: If you followed the instructions in the Join Another Wi-Fi Network section, you’ll have to replace 192.168.4.1 with your IP address.