Accelerometer with Basic Stamp
The H48C is a module which contains more than just the accelerometer itself to ease interfacing to a microcontroller.
This document shows how to connect it to a Basic Stamp 2, and also gives you a code example for the BS2.