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[]>
  • deprecated

    Returns Promise<number[]>

getRawValWait

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

getWait

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

initWait

  • initWait(): Promise<void>
  • Returns Promise<void>

setInterrupt

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

    Parameters

    • interruptBit: any
    • state: any

    Returns Promise<void>

setInterruptMapping

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

    Parameters

    • interruptBit: any
    • interruptPin: any

    Returns Promise<void>

setInterruptMappingWait

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

    • interruptBit: any
    • interruptPin: any

    Returns Promise<void>

setInterruptWait

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

    • interruptBit: any
    • state: any

    Returns Promise<void>

setRegisterBit

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

    Parameters

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

    Returns Promise<void>

setRegisterBitWait

  • setRegisterBitWait(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): void
  • Parameters

    • obniz: any

    Returns void

Static info

  • Returns ObnizPartsInfo

Object literals

displayIoNames

displayIoNames: object

scl

scl: string = "scl"

sda

sda: string = "sda"

Generated using TypeDoc