mirror of
				https://github.com/KevinMidboe/python-gpiozero.git
				synced 2025-10-29 17:50:37 +00:00 
			
		
		
		
	While the tests work well on a PC or Travis, the Pi (where I ought to be running them!) has some issues with the timing tests. Need to relax the tolerance of the "assert_states_and_times" method to 0.05 seconds otherwise it periodically fails even on something reasonably quick like a Pi 2 (less failures on a Pi 3 but still occasionally). Also reduced default fps to 25; if the default timing occasionally fails on a Pi 2 it's evidently too fast for a Pi 1 and shouldn't be the default; 25 also doesn't look any different to me on a pulsing LED. There's also a bunch of miscellaneous fixes in here; last minute typos and chart re-gens for the 1.2 release.
		
			
				
	
	
		
			37 lines
		
	
	
		
			909 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			909 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;
 | |
| }
 |