status,mcp,0
Posted: 06 Jan 2020, 16:51
Using mcp23017 we get 16 GPIOs (A0-A7 / B0-B7).
Under mcpgpio we can trigger pins 1 to 16 as expected.
Monitoring the pins we can get the status of those pins as well.
For some reason I can get the status of "mcpgio,0"
{
"log": "",
"plugin": 9,
"pin": 0,
"mode": "input",
"state": 0
}
I assume this is not supposed to exist and I shall ignore it ?
BTW shouldn't syntax of status be "status,mcpgpio,x" to ease the obvious ?
-D
Under mcpgpio we can trigger pins 1 to 16 as expected.
Monitoring the pins we can get the status of those pins as well.
For some reason I can get the status of "mcpgio,0"
{
"log": "",
"plugin": 9,
"pin": 0,
"mode": "input",
"state": 0
}
I assume this is not supposed to exist and I shall ignore it ?
BTW shouldn't syntax of status be "status,mcpgpio,x" to ease the obvious ?
-D