Skip to content

rezaneam/BMA400

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is supported

  • Custom TwoWire interface (default is Wire)
  • Auto address detect. Initialize
  • Getting/Setting Power Mode (8 modes. see power_mode_t) SetPowerMode GetPowerMode
  • Getting/Setting Acceleration data (processed in mg/unprocessed raw values) ReadAcceleration
  • Getting/Setting Auto Low Power configurations. ConfigureAutoLowPower SetAutoLowPowerOnDataReady SetAutoLowPowerOnGenericInterrupt1 SetAutoLowPowerOnTimeout
  • Getting/Setting Output Data rate (16 rates. see output_data_rate_t). SetDataRate GetDataRate
  • Getting/Setting Range. SetRange GetRange
  • Configuring Generic Interrupts. ConfigureGenericInterrupt
  • Configuring Activity Change Interrupt. ConfigureActivityChangeInterrupt
  • Configuring Step detection Interrupt (as well as step counter). ConfigureStepDetectorCounter
  • Reading and Reseting to total steps. GetTotalSteps ResetStepCounter
  • Configuring Single & Double tap detection Interrupt. ConfigureTapInterrupt
  • Configuring Orientention change Interrupt. ConfigureOrientationChangeInterrupt
  • Setting Reference vector(acceleration) for Generic & Oreintation Changed Interrupts usig current/given values. SetGenericInterruptReference SetOrientationReference
  • Mapping interrupts with the external interrupt pins. LinkToInterruptPin
  • Reading the interrupt register. GetInterrupts
  • Electrical Configuration of interrupt pins. ConfigureInterruptPinSettings
  • Configuring the basic interrupts ConfigureBasicInterrupts

Examples in ardunio