|
Adafruit PCT2075 Arduino Library
|
#include "Arduino.h"#include <Adafruit_BusIO_Register.h>#include <Adafruit_I2CDevice.h>#include <Wire.h>Go to the source code of this file.
Classes | |
| class | Adafruit_PCT2075 |
| Class that stores state and functions for interacting with the PCT2075 I2C Digital Potentiometer. More... | |
Macros | |
| #define | PCT2075_I2CADDR_DEFAULT 0x37 |
| Address is configured with pins A0-A2. | |
| #define | PCT2075_REGISTER_TEMP 0x00 |
| Temperature register (read-only) | |
| #define | PCT2075_REGISTER_CONFIG 0x01 |
| Configuration register. | |
| #define | PCT2075_REGISTER_THYST 0x02 |
| Hysterisis register. | |
| #define | PCT2075_REGISTER_TOS 0x03 |
| OS register. | |
| #define | PCT2075_REGISTER_TIDLE 0x04 |
| Measurement idle time registerconfiguration register. | |
Enumerations | |
| enum | pct2075_mode_t { PCT2075_MODE_COMPARITOR, PCT2075_MODE_INTERRUPT } |
| Mode options. More... | |
| enum | pct2075_fault_count_t { PCT2075_FAULT_COUNT_1, PCT2075_FAULT_COUNT_2, PCT2075_FAULT_COUNT_4, PCT2075_FAULT_COUNT_6 } |
| Faut count options. More... | |
This is a library for the Adafruit PCT2075 breakout: https://www.adafruit.com/product/4369
Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!
BSD license (see license.txt)
| enum pct2075_mode_t |
Mode options.
Allowed values for setMode.
1.8.13