Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Grove_3AxisAccelerometer

Implements

Index

Constructors

constructor

Properties

address

address: number = 83

constVal

constVal: any

displayName

displayName: string = "3axis"

ioKeys

ioKeys: string[]

keys

keys: string[]

params

params: any

regAdrs

regAdrs: any

requiredKeys

requiredKeys: string[]

Methods

getRawVal

  • getRawVal(): Promise<number[]>
  • Returns Promise<number[]>

getWait

  • getWait(): Promise<number[]>
  • Returns Promise<number[]>

setInterrupt

  • setInterrupt(interruptBit: any, state: any): Promise<void>
  • Parameters

    • interruptBit: any
    • state: any

    Returns Promise<void>

setInterruptMapping

  • setInterruptMapping(interruptBit: any, interruptPin: any): Promise<void>
  • Parameters

    • interruptBit: any
    • interruptPin: any

    Returns Promise<void>

setRegisterBit

  • setRegisterBit(regAddr: any, bitPos: any, state: any): Promise<void>
  • Parameters

    • regAddr: any
    • bitPos: any
    • state: any

    Returns Promise<void>

signHandling

  • signHandling(val: number): number
  • Parameters

    • val: number

    Returns number

wired

  • wired(obniz: any): Promise<void>
  • Parameters

    • obniz: any

    Returns Promise<void>

Static info

  • Returns ObnizPartsInfo

Object literals

displayIoNames

displayIoNames: object

scl

scl: string = "scl"

sda

sda: string = "sda"

Generated using TypeDoc