Options
All
  • Public
  • Public/Protected
  • All
Menu

Handles IO communication for an analog pin. Only allows a read.

The pin should be given in the parameters in the field 'pin'.

Note: this class requires the mraa npm library to be installed on the board.

Hierarchy

Index

Constructors

Accessors

Methods

Constructors

constructor

  • new Aio(parameters?: any): Aio

Accessors

parameters

  • get parameters(): number

Methods

read

  • read(callback: (value: any) => void): void

write

  • write(value: any): void

Generated using TypeDoc