2023-07-19 13:24:56 +02:00
|
|
|
# Syntax Colouring Map For MCP23008
|
|
|
|
|
|
|
|
# Data types (KEYWORD1)
|
|
|
|
MCP23008 KEYWORD1
|
|
|
|
|
|
|
|
|
|
|
|
# Methods and Functions (KEYWORD2)
|
|
|
|
begin KEYWORD2
|
|
|
|
isConnected KEYWORD2
|
|
|
|
|
|
|
|
pinMode KEYWORD2
|
|
|
|
digitalWrite KEYWORD2
|
|
|
|
digitalRead KEYWORD2
|
|
|
|
|
|
|
|
setPolarity KEYWORD2
|
|
|
|
getPolarity KEYWORD2
|
|
|
|
setPullup KEYWORD2
|
|
|
|
getPullup KEYWORD2
|
|
|
|
|
|
|
|
pinMode8 KEYWORD2
|
|
|
|
write8 KEYWORD2
|
|
|
|
read8 KEYWORD2
|
|
|
|
|
|
|
|
setPolarity8 KEYWORD2
|
|
|
|
getPolarity8 KEYWORD2
|
|
|
|
setPullup8 KEYWORD2
|
|
|
|
getPullup8 KEYWORD2
|
|
|
|
|
|
|
|
lastError KEYWORD2
|
|
|
|
|
|
|
|
getPinMode8 KEYWORD2
|
|
|
|
|
|
|
|
|
|
|
|
# Instances (KEYWORD2)
|
|
|
|
|
|
|
|
|
|
|
|
# Constants (LITERAL1)
|
|
|
|
MCP23008_LIB_VERSION LITERAL1
|
|
|
|
|
|
|
|
MCP23008_OK LITERAL1
|
|
|
|
MCP23008_PIN_ERROR LITERAL1
|
|
|
|
MCP23008_I2C_ERROR LITERAL1
|
|
|
|
MCP23008_VALUE_ERROR LITERAL1
|
2023-09-23 20:13:03 +02:00
|
|
|
MCP23008_PORT_ERROR LITERAL1
|
|
|
|
MCP23008_INVALID_READ LITERAL1
|
|
|
|
|