Package | Description |
---|---|
com.diozero |
Support for devices representing actual devices such as LEDs, Buttons including GPIO, SPI and I2C devices.
|
com.diozero.sampleapps |
Sample applications.
|
Modifier and Type | Field and Description |
---|---|
static McpAdc.Type |
McpAdc.MCP3001 |
static McpAdc.Type |
McpAdc.MCP3002 |
static McpAdc.Type |
McpAdc.MCP3004 |
static McpAdc.Type |
McpAdc.MCP3008 |
static McpAdc.Type |
McpAdc.MCP3201 |
static McpAdc.Type |
McpAdc.MCP3202 |
static McpAdc.Type |
McpAdc.MCP3204 |
static McpAdc.Type |
McpAdc.MCP3208 |
static McpAdc.Type |
McpAdc.MCP3301 |
static McpAdc.Type |
McpAdc.MCP3302 |
static McpAdc.Type |
McpAdc.MCP3304 |
Modifier and Type | Method and Description |
---|---|
static McpAdc.Type |
McpAdc.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static McpAdc.Type[] |
McpAdc.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
McpAdc(McpAdc.Type type,
int chipSelect) |
McpAdc(McpAdc.Type type,
int controller,
int chipSelect) |
Modifier and Type | Method and Description |
---|---|
static void |
McpAdcTest.test(McpAdc.Type type,
int chipSelect,
int pin) |
static void |
TMP36Test.test(McpAdc.Type type,
int chipSelect,
int pin,
float tempOffset,
float vRef) |
static void |
LDRTest.test(McpAdc.Type type,
int chipSelect,
int pin,
float vRef,
int r1) |
static void |
LDRListenerTest.test(McpAdc.Type type,
int chipSelect,
int pin,
float vRef,
int r1) |
static void |
LdrControlledLed.test(McpAdc.Type type,
int chipSelect,
int pin,
float vRef,
int r1,
int ledPin) |
Copyright © 2016 mattjlewis. All rights reserved.