Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FlickHat

Hierarchy

  • FlickHat

Implements

Index

Constructors

constructor

  • Returns FlickHat

Properties

address

address: any

debugprint

debugprint: any

displayIoNames

displayIoNames: any

fwInfo

fwInfo: any

i2c

io_reset

io_reset: any

io_ts

io_ts: any

keys

keys: string[]

lastGesture

lastGesture: any

lastRotation

lastRotation: any

lastTouch

lastTouch: any

led1

led1: any

led2

led2: any

Optional onairwheel

onairwheel: undefined | ((airwheel: FlickHat_AirWheel) => void)

ondoubletap

ondoubletap: any

Optional onfwinfo

onfwinfo: undefined | ((fwInfo: any) => void)

Optional ongesture

ongesture: undefined | ((gesture: FlickHat_Gesture) => void)

ongestureall

ongestureall: any

Optional ontap

ontap: undefined | ((tap: FlickHat_Tap) => void)

Optional ontouch

ontouch: undefined | ((touch: FlickHat_Touch) => void)

Optional onxyz

onxyz: undefined | ((xyz: FlickHat_XYZ) => void)

params

params: any

readSize

readSize: any

requiredKeys

requiredKeys: string[]

rotation

rotation: any

statusInfo

statusInfo: any

xyz

xyz: any

Methods

_dataArray2string

  • _dataArray2string(data: any): any
  • Parameters

    • data: any

    Returns any

polling

  • polling(timeout?: any): Promise<void>
  • Parameters

    • Optional timeout: any

    Returns Promise<void>

start

  • start(callback: (fwInfo: any) => void): Promise<void>
  • Parameters

    • callback: (fwInfo: any) => void
        • (fwInfo: any): void
        • Parameters

          • fwInfo: any

          Returns void

    Returns Promise<void>

wired

  • wired(obniz: Obniz): void
  • Parameters

    Returns void

Static info

  • Returns ObnizPartsInfo

Generated using TypeDoc