Channel

Description

class arduino_temperature_sensors.ArduinoBoard.Channel(sensor_number: int = None, label: str = None)[source]

Simple container to hold channel information.

Attributes

Channel.data

Latest temperature readout value.

Channel.label

Label of the sensor, to be used when logging to a database.

Channel.logging

Data from the sensor should be logged.

Channel.sensor_number

The channel ID number.

Channel.status

Valid data

Methods

Channel.__init__

Initialize self.