Type alias AnemometerOptions

AnemometerOptions: {
    address?: number;
    bus?: number;
    history?: {
        expirationTime?: number;
        maxElements?: number;
    };
    readFailed?: ((error) => void);
    readInterval?: number;
    retries?: number;
}

Anemometer configuration options.

Type declaration

  • Optional address?: number
  • Optional bus?: number
  • Optional history?: {
        expirationTime?: number;
        maxElements?: number;
    }
    • Optional expirationTime?: number
    • Optional maxElements?: number
  • Optional readFailed?: ((error) => void)
      • (error): void
      • Parameters

        • error: unknown

        Returns void

  • Optional readInterval?: number
  • Optional retries?: number

Generated using TypeDoc