R/DHT11.R

#' DHT11 Class Representation.
#'
#' @slot pin The DHT11's assigned pin.
#' @slot dht11 The internal representation of the DHT11 sensor.
#'
#' @importFrom methods setClass
#'
setClass(
  "DHT11",
  slots = c(
    # integer or character
    pin = "ANY",
    # Python's DHT11 class
    dht11 = "ANY"
  )
)
jcrodriguez1989/r2dht11 documentation built on Sept. 6, 2020, 12:07 a.m.