Example code for using the accelerometer

Does anyone have any old snippets using the accelerometer they can post? To be more specific, BASIC for the BP2 w/ ATOM PRO. I’m curious in how the reading of the data is implemented.

Which accelerometer? Which interface, analog, I2C, etc?

Alan KM6VV

We have code for the BRAT.
lynxmotion.com/images/html/build130.htm

There are examples here as well.
viewtopic.php?f=4&t=4714