Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DCMotor

Hierarchy

  • DCMotor

Implements

Index

Constructors

constructor

  • Returns DCMotor

Properties

keys

keys: string[]

params

params: any

pwm1

pwm1_io_num

pwm1_io_num: any

pwm2

pwm2_io_num

pwm2_io_num: any

requiredKeys

requiredKeys: string[]

status

status: any

Methods

forward

  • forward(): void
  • Returns void

move

  • move(forward: any): void
  • Parameters

    • forward: any

    Returns void

power

  • power(power?: any): any
  • Parameters

    • Optional power: any

    Returns any

reverse

  • reverse(): void
  • Returns void

stop

  • stop(): void
  • Returns void

wired

  • wired(obniz: Obniz): void
  • Parameters

    Returns void

Static info

  • Returns ObnizPartsInfo

Generated using TypeDoc