Options
All
  • Public
  • Public/Protected
  • All
Menu

Class KXR94_2050

Hierarchy

  • KXR94_2050

Implements

Index

Constructors

constructor

  • Returns KXR94_2050

Properties

keys

keys: string[]

offsetVoltage

offsetVoltage: any

Optional onChange

onChange: undefined | ((value: { x: number; y: number; z: number }) => void)

Optional onChangeX

onChangeX: undefined | ((x: number) => void)

Optional onChangeY

onChangeY: undefined | ((y: number) => void)

Optional onChangeZ

onChangeZ: undefined | ((z: number) => void)

params

params: any

requiredKeys

requiredKeys: string[]

sensitivity

sensitivity: any

Methods

_get

  • _get(): { x: number; y: number; z: number }
  • Returns { x: number; y: number; z: number }

    • x: number
    • y: number
    • z: number

changeVccVoltage

  • changeVccVoltage(pwrVoltage: number): void
  • Parameters

    • pwrVoltage: number

    Returns void

get

  • get(): { x: number; y: number; z: number }
  • Returns { x: number; y: number; z: number }

    • x: number
    • y: number
    • z: number

getWait

  • getWait(): Promise<{ x: number; y: number; z: number }>
  • Returns Promise<{ x: number; y: number; z: number }>

voltage2gravity

  • voltage2gravity(volt: number): number
  • Parameters

    • volt: number

    Returns number

wired

  • wired(obniz: Obniz): void
  • Parameters

    Returns void

Static info

  • Returns ObnizPartsInfo

Generated using TypeDoc