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

    Parameters

    • Optional timeout: any

    Returns Promise<void>

pollingWait

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

    • Optional timeout: any

    Returns Promise<void>

start

  • start(callback?: undefined | ((fwInfo: any) => void)): Promise<void>
  • deprecated

    Parameters

    • Optional callback: undefined | ((fwInfo: any) => void)

    Returns Promise<void>

startWait

  • startWait(callback?: undefined | ((fwInfo: any) => void)): Promise<void>
  • Parameters

    • Optional callback: undefined | ((fwInfo: any) => void)

    Returns Promise<void>

wired

  • wired(obniz: Obniz): void
  • Parameters

    Returns void

Static info

  • Returns ObnizPartsInfo

Generated using TypeDoc