mirror of
				https://github.com/KevinMidboe/python-gpiozero.git
				synced 2025-10-29 17:50:37 +00:00 
			
		
		
		
	Fix #168
This commit is contained in:
		| @@ -78,3 +78,10 @@ Ryanteck MCB Robot | ||||
|     :inherited-members: | ||||
|     :members: | ||||
|  | ||||
| CamJam #3 Kit Robot | ||||
| =================== | ||||
|  | ||||
| .. autoclass:: CamJamKitRobot | ||||
|     :inherited-members: | ||||
|     :members: | ||||
|  | ||||
|   | ||||
| @@ -29,4 +29,5 @@ digraph classes { | ||||
|  | ||||
|     Robot->CompositeDevice; | ||||
|     RyanteckRobot->Robot; | ||||
|     CamJamKitRobot->Robot; | ||||
| } | ||||
|   | ||||
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							| Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 52 KiB | 
| @@ -4,15 +4,15 @@ | ||||
| <!-- Generated by graphviz version 2.36.0 (20140111.2315) | ||||
|  --> | ||||
| <!-- Title: classes Pages: 1 --> | ||||
| <svg width="713pt" height="332pt" | ||||
|  viewBox="0.00 0.00 713.00 332.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> | ||||
| <svg width="808pt" height="332pt" | ||||
|  viewBox="0.00 0.00 808.00 332.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> | ||||
| <g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 328)"> | ||||
| <title>classes</title> | ||||
| <polygon fill="white" stroke="none" points="-4,4 -4,-328 709,-328 709,4 -4,4"/> | ||||
| <polygon fill="white" stroke="none" points="-4,4 -4,-328 804,-328 804,4 -4,4"/> | ||||
| <!-- AnalogInputDevice --> | ||||
| <g id="node1" class="node"><title>AnalogInputDevice</title> | ||||
| <polygon fill="#2980b9" stroke="#2980b9" points="562,-252 456,-252 456,-216 562,-216 562,-252"/> | ||||
| <text text-anchor="middle" x="509" y="-231.5" font-family="Sans" font-size="10.00" fill="#ffffff">AnalogInputDevice</text> | ||||
| <polygon fill="#2980b9" stroke="#2980b9" points="608,-252 502,-252 502,-216 608,-216 608,-252"/> | ||||
| <text text-anchor="middle" x="555" y="-231.5" font-family="Sans" font-size="10.00" fill="#ffffff">AnalogInputDevice</text> | ||||
| </g> | ||||
| <!-- CompositeDevice --> | ||||
| <g id="node2" class="node"><title>CompositeDevice</title> | ||||
| @@ -21,98 +21,98 @@ | ||||
| </g> | ||||
| <!-- AnalogInputDevice->CompositeDevice --> | ||||
| <g id="edge1" class="edge"><title>AnalogInputDevice->CompositeDevice</title> | ||||
| <path fill="none" stroke="black" d="M456.334,-248.166C408.908,-260.023 339.22,-277.445 289.518,-289.871"/> | ||||
| <polygon fill="black" stroke="black" points="288.396,-286.543 279.544,-292.364 290.094,-293.334 288.396,-286.543"/> | ||||
| <path fill="none" stroke="black" d="M502.26,-246.325C443.965,-258.842 350.25,-278.965 289.144,-292.086"/> | ||||
| <polygon fill="black" stroke="black" points="288.296,-288.688 279.253,-294.209 289.765,-295.532 288.296,-288.688"/> | ||||
| </g> | ||||
| <!-- MCP3xxx --> | ||||
| <g id="node3" class="node"><title>MCP3xxx</title> | ||||
| <polygon fill="#2980b9" stroke="#2980b9" points="543.5,-180 484.5,-180 484.5,-144 543.5,-144 543.5,-180"/> | ||||
| <text text-anchor="middle" x="514" y="-159.5" font-family="Sans" font-size="10.00" fill="#ffffff">MCP3xxx</text> | ||||
| <polygon fill="#2980b9" stroke="#2980b9" points="638.5,-180 579.5,-180 579.5,-144 638.5,-144 638.5,-180"/> | ||||
| <text text-anchor="middle" x="609" y="-159.5" font-family="Sans" font-size="10.00" fill="#ffffff">MCP3xxx</text> | ||||
| </g> | ||||
| <!-- MCP3xxx->AnalogInputDevice --> | ||||
| <g id="edge2" class="edge"><title>MCP3xxx->AnalogInputDevice</title> | ||||
| <path fill="none" stroke="black" d="M512.764,-180.303C512.213,-188.017 511.551,-197.288 510.937,-205.888"/> | ||||
| <polygon fill="black" stroke="black" points="507.443,-205.672 510.222,-215.896 514.425,-206.17 507.443,-205.672"/> | ||||
| <path fill="none" stroke="black" d="M595.652,-180.303C589.243,-188.611 581.442,-198.723 574.394,-207.859"/> | ||||
| <polygon fill="black" stroke="black" points="571.532,-205.84 568.195,-215.896 577.074,-210.116 571.532,-205.84"/> | ||||
| </g> | ||||
| <!-- MCP33xx --> | ||||
| <g id="node4" class="node"><title>MCP33xx</title> | ||||
| <polygon fill="#2980b9" stroke="#2980b9" points="385,-108 325,-108 325,-72 385,-72 385,-108"/> | ||||
| <text text-anchor="middle" x="355" y="-87.5" font-family="Sans" font-size="10.00" fill="#ffffff">MCP33xx</text> | ||||
| <polygon fill="#2980b9" stroke="#2980b9" points="480,-108 420,-108 420,-72 480,-72 480,-108"/> | ||||
| <text text-anchor="middle" x="450" y="-87.5" font-family="Sans" font-size="10.00" fill="#ffffff">MCP33xx</text> | ||||
| </g> | ||||
| <!-- MCP33xx->MCP3xxx --> | ||||
| <g id="edge3" class="edge"><title>MCP33xx->MCP3xxx</title> | ||||
| <path fill="none" stroke="black" d="M384.534,-104.002C410.081,-115.249 447.204,-131.593 475.154,-143.898"/> | ||||
| <polygon fill="black" stroke="black" points="474.062,-147.241 484.624,-148.067 476.882,-140.835 474.062,-147.241"/> | ||||
| <path fill="none" stroke="black" d="M479.534,-104.002C505.081,-115.249 542.204,-131.593 570.154,-143.898"/> | ||||
| <polygon fill="black" stroke="black" points="569.062,-147.241 579.624,-148.067 571.882,-140.835 569.062,-147.241"/> | ||||
| </g> | ||||
| <!-- MCP3004 --> | ||||
| <g id="node5" class="node"><title>MCP3004</title> | ||||
| <polygon fill="#2980b9" stroke="#2980b9" points="465,-108 403,-108 403,-72 465,-72 465,-108"/> | ||||
| <text text-anchor="middle" x="434" y="-87.5" font-family="Sans" font-size="10.00" fill="#ffffff">MCP3004</text> | ||||
| <polygon fill="#2980b9" stroke="#2980b9" points="560,-108 498,-108 498,-72 560,-72 560,-108"/> | ||||
| <text text-anchor="middle" x="529" y="-87.5" font-family="Sans" font-size="10.00" fill="#ffffff">MCP3004</text> | ||||
| </g> | ||||
| <!-- MCP3004->MCP3xxx --> | ||||
| <g id="edge4" class="edge"><title>MCP3004->MCP3xxx</title> | ||||
| <path fill="none" stroke="black" d="M453.775,-108.303C463.754,-117.035 476.011,-127.76 486.857,-137.25"/> | ||||
| <polygon fill="black" stroke="black" points="484.622,-139.945 494.452,-143.896 489.231,-134.677 484.622,-139.945"/> | ||||
| <path fill="none" stroke="black" d="M548.775,-108.303C558.754,-117.035 571.011,-127.76 581.857,-137.25"/> | ||||
| <polygon fill="black" stroke="black" points="579.622,-139.945 589.452,-143.896 584.231,-134.677 579.622,-139.945"/> | ||||
| </g> | ||||
| <!-- MCP3008 --> | ||||
| <g id="node6" class="node"><title>MCP3008</title> | ||||
| <polygon fill="#2980b9" stroke="#2980b9" points="545,-108 483,-108 483,-72 545,-72 545,-108"/> | ||||
| <text text-anchor="middle" x="514" y="-87.5" font-family="Sans" font-size="10.00" fill="#ffffff">MCP3008</text> | ||||
| <polygon fill="#2980b9" stroke="#2980b9" points="640,-108 578,-108 578,-72 640,-72 640,-108"/> | ||||
| <text text-anchor="middle" x="609" y="-87.5" font-family="Sans" font-size="10.00" fill="#ffffff">MCP3008</text> | ||||
| </g> | ||||
| <!-- MCP3008->MCP3xxx --> | ||||
| <g id="edge5" class="edge"><title>MCP3008->MCP3xxx</title> | ||||
| <path fill="none" stroke="black" d="M514,-108.303C514,-116.017 514,-125.288 514,-133.888"/> | ||||
| <polygon fill="black" stroke="black" points="510.5,-133.896 514,-143.896 517.5,-133.896 510.5,-133.896"/> | ||||
| <path fill="none" stroke="black" d="M609,-108.303C609,-116.017 609,-125.288 609,-133.888"/> | ||||
| <polygon fill="black" stroke="black" points="605.5,-133.896 609,-143.896 612.5,-133.896 605.5,-133.896"/> | ||||
| </g> | ||||
| <!-- MCP3204 --> | ||||
| <g id="node7" class="node"><title>MCP3204</title> | ||||
| <polygon fill="#2980b9" stroke="#2980b9" points="625,-108 563,-108 563,-72 625,-72 625,-108"/> | ||||
| <text text-anchor="middle" x="594" y="-87.5" font-family="Sans" font-size="10.00" fill="#ffffff">MCP3204</text> | ||||
| <polygon fill="#2980b9" stroke="#2980b9" points="720,-108 658,-108 658,-72 720,-72 720,-108"/> | ||||
| <text text-anchor="middle" x="689" y="-87.5" font-family="Sans" font-size="10.00" fill="#ffffff">MCP3204</text> | ||||
| </g> | ||||
| <!-- MCP3204->MCP3xxx --> | ||||
| <g id="edge6" class="edge"><title>MCP3204->MCP3xxx</title> | ||||
| <path fill="none" stroke="black" d="M574.225,-108.303C564.246,-117.035 551.989,-127.76 541.143,-137.25"/> | ||||
| <polygon fill="black" stroke="black" points="538.769,-134.677 533.548,-143.896 543.378,-139.945 538.769,-134.677"/> | ||||
| <path fill="none" stroke="black" d="M669.225,-108.303C659.246,-117.035 646.989,-127.76 636.143,-137.25"/> | ||||
| <polygon fill="black" stroke="black" points="633.769,-134.677 628.548,-143.896 638.378,-139.945 633.769,-134.677"/> | ||||
| </g> | ||||
| <!-- MCP3208 --> | ||||
| <g id="node8" class="node"><title>MCP3208</title> | ||||
| <polygon fill="#2980b9" stroke="#2980b9" points="705,-108 643,-108 643,-72 705,-72 705,-108"/> | ||||
| <text text-anchor="middle" x="674" y="-87.5" font-family="Sans" font-size="10.00" fill="#ffffff">MCP3208</text> | ||||
| <polygon fill="#2980b9" stroke="#2980b9" points="800,-108 738,-108 738,-72 800,-72 800,-108"/> | ||||
| <text text-anchor="middle" x="769" y="-87.5" font-family="Sans" font-size="10.00" fill="#ffffff">MCP3208</text> | ||||
| </g> | ||||
| <!-- MCP3208->MCP3xxx --> | ||||
| <g id="edge7" class="edge"><title>MCP3208->MCP3xxx</title> | ||||
| <path fill="none" stroke="black" d="M643.15,-104.497C617.4,-115.762 580.557,-131.881 552.808,-144.022"/> | ||||
| <polygon fill="black" stroke="black" points="551.163,-140.921 543.405,-148.135 553.969,-147.334 551.163,-140.921"/> | ||||
| <path fill="none" stroke="black" d="M738.15,-104.497C712.4,-115.762 675.557,-131.881 647.808,-144.022"/> | ||||
| <polygon fill="black" stroke="black" points="646.163,-140.921 638.405,-148.135 648.969,-147.334 646.163,-140.921"/> | ||||
| </g> | ||||
| <!-- MCP3301 --> | ||||
| <g id="node9" class="node"><title>MCP3301</title> | ||||
| <polygon fill="#2980b9" stroke="#2980b9" points="306,-36 244,-36 244,-0 306,-0 306,-36"/> | ||||
| <text text-anchor="middle" x="275" y="-15.5" font-family="Sans" font-size="10.00" fill="#ffffff">MCP3301</text> | ||||
| <polygon fill="#2980b9" stroke="#2980b9" points="401,-36 339,-36 339,-0 401,-0 401,-36"/> | ||||
| <text text-anchor="middle" x="370" y="-15.5" font-family="Sans" font-size="10.00" fill="#ffffff">MCP3301</text> | ||||
| </g> | ||||
| <!-- MCP3301->MCP33xx --> | ||||
| <g id="edge8" class="edge"><title>MCP3301->MCP33xx</title> | ||||
| <path fill="none" stroke="black" d="M294.775,-36.3034C304.754,-45.0345 317.011,-55.7595 327.857,-65.2497"/> | ||||
| <polygon fill="black" stroke="black" points="325.622,-67.9446 335.452,-71.8957 330.231,-62.6766 325.622,-67.9446"/> | ||||
| <path fill="none" stroke="black" d="M389.775,-36.3034C399.754,-45.0345 412.011,-55.7595 422.857,-65.2497"/> | ||||
| <polygon fill="black" stroke="black" points="420.622,-67.9446 430.452,-71.8957 425.231,-62.6766 420.622,-67.9446"/> | ||||
| </g> | ||||
| <!-- MCP3302 --> | ||||
| <g id="node10" class="node"><title>MCP3302</title> | ||||
| <polygon fill="#2980b9" stroke="#2980b9" points="386,-36 324,-36 324,-0 386,-0 386,-36"/> | ||||
| <text text-anchor="middle" x="355" y="-15.5" font-family="Sans" font-size="10.00" fill="#ffffff">MCP3302</text> | ||||
| <polygon fill="#2980b9" stroke="#2980b9" points="481,-36 419,-36 419,-0 481,-0 481,-36"/> | ||||
| <text text-anchor="middle" x="450" y="-15.5" font-family="Sans" font-size="10.00" fill="#ffffff">MCP3302</text> | ||||
| </g> | ||||
| <!-- MCP3302->MCP33xx --> | ||||
| <g id="edge9" class="edge"><title>MCP3302->MCP33xx</title> | ||||
| <path fill="none" stroke="black" d="M355,-36.3034C355,-44.0173 355,-53.2875 355,-61.8876"/> | ||||
| <polygon fill="black" stroke="black" points="351.5,-61.8956 355,-71.8957 358.5,-61.8957 351.5,-61.8956"/> | ||||
| <path fill="none" stroke="black" d="M450,-36.3034C450,-44.0173 450,-53.2875 450,-61.8876"/> | ||||
| <polygon fill="black" stroke="black" points="446.5,-61.8956 450,-71.8957 453.5,-61.8957 446.5,-61.8956"/> | ||||
| </g> | ||||
| <!-- MCP3304 --> | ||||
| <g id="node11" class="node"><title>MCP3304</title> | ||||
| <polygon fill="#2980b9" stroke="#2980b9" points="466,-36 404,-36 404,-0 466,-0 466,-36"/> | ||||
| <text text-anchor="middle" x="435" y="-15.5" font-family="Sans" font-size="10.00" fill="#ffffff">MCP3304</text> | ||||
| <polygon fill="#2980b9" stroke="#2980b9" points="561,-36 499,-36 499,-0 561,-0 561,-36"/> | ||||
| <text text-anchor="middle" x="530" y="-15.5" font-family="Sans" font-size="10.00" fill="#ffffff">MCP3304</text> | ||||
| </g> | ||||
| <!-- MCP3304->MCP33xx --> | ||||
| <g id="edge10" class="edge"><title>MCP3304->MCP33xx</title> | ||||
| <path fill="none" stroke="black" d="M415.225,-36.3034C405.246,-45.0345 392.989,-55.7595 382.143,-65.2497"/> | ||||
| <polygon fill="black" stroke="black" points="379.769,-62.6766 374.548,-71.8957 384.378,-67.9446 379.769,-62.6766"/> | ||||
| <path fill="none" stroke="black" d="M510.225,-36.3034C500.246,-45.0345 487.989,-55.7595 477.143,-65.2497"/> | ||||
| <polygon fill="black" stroke="black" points="474.769,-62.6766 469.548,-71.8957 479.378,-67.9446 474.769,-62.6766"/> | ||||
| </g> | ||||
| <!-- RGBLED --> | ||||
| <g id="node12" class="node"><title>RGBLED</title> | ||||
| @@ -146,33 +146,33 @@ | ||||
| </g> | ||||
| <!-- PiLiter --> | ||||
| <g id="node15" class="node"><title>PiLiter</title> | ||||
| <polygon fill="#2980b9" stroke="#2980b9" points="118,-180 64,-180 64,-144 118,-144 118,-180"/> | ||||
| <text text-anchor="middle" x="91" y="-159.5" font-family="Sans" font-size="10.00" fill="#ffffff">PiLiter</text> | ||||
| <polygon fill="#2980b9" stroke="#2980b9" points="99,-180 45,-180 45,-144 99,-144 99,-180"/> | ||||
| <text text-anchor="middle" x="72" y="-159.5" font-family="Sans" font-size="10.00" fill="#ffffff">PiLiter</text> | ||||
| </g> | ||||
| <!-- PiLiter->LEDBoard --> | ||||
| <g id="edge14" class="edge"><title>PiLiter->LEDBoard</title> | ||||
| <path fill="none" stroke="black" d="M112.506,-180.303C123.463,-189.119 136.946,-199.968 148.825,-209.526"/> | ||||
| <polygon fill="black" stroke="black" points="146.756,-212.354 156.742,-215.896 151.145,-206.9 146.756,-212.354"/> | ||||
| <path fill="none" stroke="black" d="M97.9305,-180.124C111.662,-189.192 128.706,-200.448 143.536,-210.241"/> | ||||
| <polygon fill="black" stroke="black" points="141.696,-213.22 151.97,-215.81 145.554,-207.379 141.696,-213.22"/> | ||||
| </g> | ||||
| <!-- TrafficLights --> | ||||
| <g id="node16" class="node"><title>TrafficLights</title> | ||||
| <polygon fill="#2980b9" stroke="#2980b9" points="208,-180 136,-180 136,-144 208,-144 208,-180"/> | ||||
| <text text-anchor="middle" x="172" y="-159.5" font-family="Sans" font-size="10.00" fill="#ffffff">TrafficLights</text> | ||||
| <polygon fill="#2980b9" stroke="#2980b9" points="189,-180 117,-180 117,-144 189,-144 189,-180"/> | ||||
| <text text-anchor="middle" x="153" y="-159.5" font-family="Sans" font-size="10.00" fill="#ffffff">TrafficLights</text> | ||||
| </g> | ||||
| <!-- TrafficLights->LEDBoard --> | ||||
| <g id="edge15" class="edge"><title>TrafficLights->LEDBoard</title> | ||||
| <path fill="none" stroke="black" d="M173.483,-180.303C174.144,-188.017 174.939,-197.288 175.676,-205.888"/> | ||||
| <polygon fill="black" stroke="black" points="172.193,-206.231 176.534,-215.896 179.167,-205.633 172.193,-206.231"/> | ||||
| <path fill="none" stroke="black" d="M159.18,-180.303C161.995,-188.187 165.391,-197.696 168.519,-206.454"/> | ||||
| <polygon fill="black" stroke="black" points="165.232,-207.655 171.891,-215.896 171.824,-205.301 165.232,-207.655"/> | ||||
| </g> | ||||
| <!-- PiTraffic --> | ||||
| <g id="node17" class="node"><title>PiTraffic</title> | ||||
| <polygon fill="#2980b9" stroke="#2980b9" points="199,-108 145,-108 145,-72 199,-72 199,-108"/> | ||||
| <text text-anchor="middle" x="172" y="-87.5" font-family="Sans" font-size="10.00" fill="#ffffff">PiTraffic</text> | ||||
| <polygon fill="#2980b9" stroke="#2980b9" points="180,-108 126,-108 126,-72 180,-72 180,-108"/> | ||||
| <text text-anchor="middle" x="153" y="-87.5" font-family="Sans" font-size="10.00" fill="#ffffff">PiTraffic</text> | ||||
| </g> | ||||
| <!-- PiTraffic->TrafficLights --> | ||||
| <g id="edge16" class="edge"><title>PiTraffic->TrafficLights</title> | ||||
| <path fill="none" stroke="black" d="M172,-108.303C172,-116.017 172,-125.288 172,-133.888"/> | ||||
| <polygon fill="black" stroke="black" points="168.5,-133.896 172,-143.896 175.5,-133.896 168.5,-133.896"/> | ||||
| <path fill="none" stroke="black" d="M153,-108.303C153,-116.017 153,-125.288 153,-133.888"/> | ||||
| <polygon fill="black" stroke="black" points="149.5,-133.896 153,-143.896 156.5,-133.896 149.5,-133.896"/> | ||||
| </g> | ||||
| <!-- TrafficLightsBuzzer --> | ||||
| <g id="node18" class="node"><title>TrafficLightsBuzzer</title> | ||||
| @@ -186,43 +186,53 @@ | ||||
| </g> | ||||
| <!-- FishDish --> | ||||
| <g id="node19" class="node"><title>FishDish</title> | ||||
| <polygon fill="#2980b9" stroke="#2980b9" points="282,-180 226,-180 226,-144 282,-144 282,-180"/> | ||||
| <text text-anchor="middle" x="254" y="-159.5" font-family="Sans" font-size="10.00" fill="#ffffff">FishDish</text> | ||||
| <polygon fill="#2980b9" stroke="#2980b9" points="263,-180 207,-180 207,-144 263,-144 263,-180"/> | ||||
| <text text-anchor="middle" x="235" y="-159.5" font-family="Sans" font-size="10.00" fill="#ffffff">FishDish</text> | ||||
| </g> | ||||
| <!-- FishDish->TrafficLightsBuzzer --> | ||||
| <g id="edge18" class="edge"><title>FishDish->TrafficLightsBuzzer</title> | ||||
| <path fill="none" stroke="black" d="M260.674,-180.303C263.715,-188.187 267.383,-197.696 270.761,-206.454"/> | ||||
| <polygon fill="black" stroke="black" points="267.538,-207.825 274.403,-215.896 274.069,-205.306 267.538,-207.825"/> | ||||
| <path fill="none" stroke="black" d="M246.371,-180.303C251.718,-188.441 258.204,-198.311 264.111,-207.299"/> | ||||
| <polygon fill="black" stroke="black" points="261.343,-209.461 269.76,-215.896 267.193,-205.616 261.343,-209.461"/> | ||||
| </g> | ||||
| <!-- TrafficHat --> | ||||
| <g id="node20" class="node"><title>TrafficHat</title> | ||||
| <polygon fill="#2980b9" stroke="#2980b9" points="361.5,-180 300.5,-180 300.5,-144 361.5,-144 361.5,-180"/> | ||||
| <text text-anchor="middle" x="331" y="-159.5" font-family="Sans" font-size="10.00" fill="#ffffff">TrafficHat</text> | ||||
| <polygon fill="#2980b9" stroke="#2980b9" points="342.5,-180 281.5,-180 281.5,-144 342.5,-144 342.5,-180"/> | ||||
| <text text-anchor="middle" x="312" y="-159.5" font-family="Sans" font-size="10.00" fill="#ffffff">TrafficHat</text> | ||||
| </g> | ||||
| <!-- TrafficHat->TrafficLightsBuzzer --> | ||||
| <g id="edge19" class="edge"><title>TrafficHat->TrafficLightsBuzzer</title> | ||||
| <path fill="none" stroke="black" d="M318.64,-180.303C312.767,-188.526 305.631,-198.517 299.158,-207.579"/> | ||||
| <polygon fill="black" stroke="black" points="296.182,-205.724 293.217,-215.896 301.878,-209.793 296.182,-205.724"/> | ||||
| <path fill="none" stroke="black" d="M304.337,-180.303C300.808,-188.272 296.544,-197.9 292.631,-206.736"/> | ||||
| <polygon fill="black" stroke="black" points="289.424,-205.335 288.575,-215.896 295.824,-208.169 289.424,-205.335"/> | ||||
| </g> | ||||
| <!-- Robot --> | ||||
| <g id="node21" class="node"><title>Robot</title> | ||||
| <polygon fill="#2980b9" stroke="#2980b9" points="427,-252 373,-252 373,-216 427,-216 427,-252"/> | ||||
| <text text-anchor="middle" x="400" y="-231.5" font-family="Sans" font-size="10.00" fill="#ffffff">Robot</text> | ||||
| <polygon fill="#2980b9" stroke="#2980b9" points="431,-252 377,-252 377,-216 431,-216 431,-252"/> | ||||
| <text text-anchor="middle" x="404" y="-231.5" font-family="Sans" font-size="10.00" fill="#ffffff">Robot</text> | ||||
| </g> | ||||
| <!-- Robot->CompositeDevice --> | ||||
| <g id="edge20" class="edge"><title>Robot->CompositeDevice</title> | ||||
| <path fill="none" stroke="black" d="M372.905,-246.092C348.091,-256.249 310.706,-271.553 280.26,-284.016"/> | ||||
| <polygon fill="black" stroke="black" points="278.572,-280.925 270.643,-287.953 281.224,-287.404 278.572,-280.925"/> | ||||
| <path fill="none" stroke="black" d="M376.656,-245.938C351.218,-256.113 312.631,-271.547 281.284,-284.087"/> | ||||
| <polygon fill="black" stroke="black" points="279.795,-280.912 271.81,-287.876 282.394,-287.412 279.795,-280.912"/> | ||||
| </g> | ||||
| <!-- RyanteckRobot --> | ||||
| <g id="node22" class="node"><title>RyanteckRobot</title> | ||||
| <polygon fill="#2980b9" stroke="#2980b9" points="466,-180 380,-180 380,-144 466,-144 466,-180"/> | ||||
| <text text-anchor="middle" x="423" y="-159.5" font-family="Sans" font-size="10.00" fill="#ffffff">RyanteckRobot</text> | ||||
| <polygon fill="#2980b9" stroke="#2980b9" points="447,-180 361,-180 361,-144 447,-144 447,-180"/> | ||||
| <text text-anchor="middle" x="404" y="-159.5" font-family="Sans" font-size="10.00" fill="#ffffff">RyanteckRobot</text> | ||||
| </g> | ||||
| <!-- RyanteckRobot->Robot --> | ||||
| <g id="edge21" class="edge"><title>RyanteckRobot->Robot</title> | ||||
| <path fill="none" stroke="black" d="M417.315,-180.303C414.752,-188.102 411.667,-197.491 408.815,-206.171"/> | ||||
| <polygon fill="black" stroke="black" points="405.416,-205.303 405.62,-215.896 412.067,-207.488 405.416,-205.303"/> | ||||
| <path fill="none" stroke="black" d="M404,-180.303C404,-188.017 404,-197.288 404,-205.888"/> | ||||
| <polygon fill="black" stroke="black" points="400.5,-205.896 404,-215.896 407.5,-205.896 400.5,-205.896"/> | ||||
| </g> | ||||
| <!-- CamJamKitRobot --> | ||||
| <g id="node23" class="node"><title>CamJamKitRobot</title> | ||||
| <polygon fill="#2980b9" stroke="#2980b9" points="561,-180 465,-180 465,-144 561,-144 561,-180"/> | ||||
| <text text-anchor="middle" x="513" y="-159.5" font-family="Sans" font-size="10.00" fill="#ffffff">CamJamKitRobot</text> | ||||
| </g> | ||||
| <!-- CamJamKitRobot->Robot --> | ||||
| <g id="edge22" class="edge"><title>CamJamKitRobot->Robot</title> | ||||
| <path fill="none" stroke="black" d="M486.336,-180.124C472.216,-189.192 454.689,-200.448 439.439,-210.241"/> | ||||
| <polygon fill="black" stroke="black" points="437.29,-207.462 430.767,-215.81 441.073,-213.352 437.29,-207.462"/> | ||||
| </g> | ||||
| </g> | ||||
| </svg> | ||||
|   | ||||
| Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB | 
| @@ -554,8 +554,19 @@ class RyanteckRobot(Robot): | ||||
|  | ||||
| class CamJamKitRobot(Robot): | ||||
|     """ | ||||
|     CamJam EduKit 3 Robot. Generic robot controller with pre-configured pin | ||||
|     numbers. | ||||
|     Extends :class:`Robot` for the `CamJam #3 EduKit`_ robot controller. | ||||
|  | ||||
|     The CamJam robot controller pins are fixed and therefore there's no need | ||||
|     to specify them when constructing this class. The following example turns | ||||
|     the robot left:: | ||||
|  | ||||
|         from gpiozero import CamJamKitRobot | ||||
|  | ||||
|         robot = CamJamKitRobot() | ||||
|         robot.left() | ||||
|  | ||||
|     .. _CamJam #3 EduKit: http://camjam.me/?page_id=1035 | ||||
|     """ | ||||
|     def __init__(self): | ||||
|         super(CamJamKitRobot, self).__init__(left=(9, 10), right=(7, 8)) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user