Files
python-gpiozero/docs/images/composite_device_hierarchy.dot
Dave Jones 02f7d20bc3 Fix #248
Add Servo and AngularServo implementation along with docs and tests.
This is a deliberately minimal implementation designed to be added to as
we agree on new extensions (better than making an all-singing,
all-dancing version in which I get things wrong and then wind up making
backward incompatible changes to get it right :)
2016-08-30 21:33:28 +01:00

39 lines
984 B
Plaintext

/* vim: set et sw=4 sts=4: */
digraph classes {
graph [rankdir=BT];
node [shape=rect, style=filled, fontname=Sans, fontsize=10];
edge [];
/* Abstract classes */
node [color="#9ec6e0", fontcolor="#000000"]
Device;
CompositeDevice;
CompositeOutputDevice;
LEDCollection;
/* Concrete classes */
node [color="#2980b9", fontcolor="#ffffff"];
CompositeDevice->Device;
CompositeOutputDevice->CompositeDevice;
LEDCollection->CompositeOutputDevice;
LEDBoard->LEDCollection;
LEDBarGraph->LEDCollection;
PiLiter->LEDBoard;
PiLiterBarGraph->LEDBarGraph;
TrafficLights->LEDBoard;
PiTraffic->TrafficLights;
TrafficLightsBuzzer->CompositeOutputDevice;
FishDish->TrafficLightsBuzzer;
TrafficHat->TrafficLightsBuzzer;
Robot->CompositeDevice;
RyanteckRobot->Robot;
CamJamKitRobot->Robot;
Motor->CompositeDevice;
Servo->CompositeDevice;
AngularServo->Servo;
Energenie->Device;
}