Component: moteiv.tos.sensorboards.invent.AccelDriverC

configuration AccelDriverC

Driver for the 2-Axis Accelerometer on Tmote Invent.

Only available on Moteiv's Tmote Invent

Before use, be sure to start the sensor using the SplitControl interface. If you would like to start the sensor on system boot, use the MainControl generic component like so:

  components new MainControl() as AccelControl;
  components AccelDriverC;
  AccelControl.SplitControl -> AccelDriverC;
 
Use AccelX for the X-axis readings and AccelY for the Y-axis readings.

AccelInterruptSettings sets the voltage treshold for an acceleration to trigger an interrupt. The interrupt is fired through the AccelInterrupt interface, which includes commands for enabling and disabling the interrupt.

Author:
Joe Polastre, Moteiv Corporation <info@moteiv.com>

Provides
interface SensorInterrupt as AccelInterrupt
interface Potentiometer as AccelInterruptSettings
interface ADC as AccelX
interface ADC as AccelY
interface SplitControl

Wiring