Electronic Music Devices with the Basic Stamp IIsx

Example programs

cout (code) --
This program demonstrates
how to send MIDI from a Basic Stamp IIsx by sending out
MIDI note for middle C.

max1270 (code) --
This program demonstrates how to get sensor data via an A/D converter
on the Basic Stamp IIsx by using a MAX1270 A/D chip to read in a
sample and print to computer screen.

midi1270 (code) --
This program demonstrates how to get sensor data via an A/D converter
on the Basic Stamp IIsx by using a MAX1270 A/D chip to read in a
sample and then send that sample out via MIDI.

midi8 (code) --
This program is a variation on midi1270.
Data from all 8 channels of the Maxim 1270 are sampled and sent
via MIDI using the command 0xA0. The first parameter MIDI byte
specifies the channel number (0-7) and the second parameter
byte gives the sampled data variable.

max3110 (code) --
This program demonstrates how to get MIDI input into the Basic
Stamp IIsx using a MAX3110 Serial UART to echo MIDI input to MIDI output.

seny (code) --
variation on midi8, with 12 other pins on the basic stamp acting
as RC A/D converters. Used to read FSR sensors (on RC
A/D converters), and 8 piezo sensors on the Max 1270.