mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2025-10-29 17:50:37 +00:00
Fix #421
Added SPI tests, simplified the shared SPI software bus implementation, and fixed several protocol errors in our MCP3xxx classes (the x2 and x1 protocols were wrong)
This commit is contained in:
@@ -11,6 +11,7 @@ digraph classes {
|
||||
MCP3xxx;
|
||||
MCP30xx;
|
||||
MCP32xx;
|
||||
MCP3xx2;
|
||||
MCP33xx;
|
||||
|
||||
/* Concrete classes */
|
||||
@@ -21,6 +22,8 @@ digraph classes {
|
||||
MCP30xx->MCP3xxx;
|
||||
MCP32xx->MCP3xxx;
|
||||
MCP33xx->MCP3xxx;
|
||||
MCP3xx2->MCP3xxx;
|
||||
|
||||
MCP3001->MCP30xx;
|
||||
MCP3002->MCP30xx;
|
||||
MCP3004->MCP30xx;
|
||||
@@ -29,6 +32,8 @@ digraph classes {
|
||||
MCP3202->MCP32xx;
|
||||
MCP3204->MCP32xx;
|
||||
MCP3208->MCP32xx;
|
||||
MCP3002->MCP3xx2;
|
||||
MCP3202->MCP3xx2;
|
||||
MCP3301->MCP33xx;
|
||||
MCP3302->MCP33xx;
|
||||
MCP3304->MCP33xx;
|
||||
|
||||
Reference in New Issue
Block a user