© Parallax, Inc. • 7Seg-DB (2007.09.05) Page 2 of 5
Master Module Installation
One master module is required for every installation. The master module can be plugged into any
daughterboard socket on a Parallax motherboard. Most of the time, you’ll want to use the “B” socket, and
the examples in this document use the “B” socket exclusively. Below is a photo of a master module
plugged into the MoBoStamp-pe’s “B” socket:
Theoretically, you could plug master modules into
both
sockets. However, even though they will line up
with one another, one will be inverted with respect to the other. At some point, if there’s sufficient
demand, there will be a firmware driver available for use with an upside-down module. But using one
master with a daisy-chained slave is preferred over the two-master approach.
MoBoStamp-pe
Before plugging the 7Seg-DB into your MoBoStamp-pe, load the AVR firmware for this device (available
for download on the 7Seg-DB product page, http://www.parallax.com/detail.asp?product_id=28312. This
firmware can be installed for either the “A” or “B” daughterbord sockets, socket “B” being the usual
destination. The firmware is uploaded with the program, LoadAVR.exe, available on the MoBoStamp-pe
product page: http://www.parallax.com/detail.asp?product_id=28300. Before uploading, however, you
may wish to redesign the default character set to your own specs. This can be done with the PC program,
7Seg_Font.exe, available from the 7Seg-DB product page.
After successfully installing the AVR firmware, the 7Seg-DB functions can be programmed in PBASIC, as
outlined in the 7Seg-DB AVR firmware manual, which is also available on the 7Seg-DB product page.
MoBoProp
To use the 7Seg-DB with your MoBoProp motherboard, just plug it into either daughterboard socket,
socket “B” being its usual home. To use the 7Seg-DB as an output device for the Propeller, you will need
to specify the 7Seg object (available from the Propeller Object Exchange) with your programs under the
“OBJ” header and call the public routines contained therein.