Options
All
  • Public
  • Public/Protected
  • All
Menu

Mocks the IO communication of an actual sensor hardware. Stores a cached value for the pin and simply updates it with the 'write' calls. The value is 0 at the beginning.

Hierarchy

Index

Constructors

Accessors

Methods

Constructors

constructor

Accessors

parameters

  • get parameters(): number

Methods

read

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

write

  • write(value: any): void

Generated using TypeDoc