mirror of
				https://github.com/KevinMidboe/python-gpiozero.git
				synced 2025-10-29 17:50:37 +00:00 
			
		
		
		
	Rename to gpiozero and tidy up
This commit is contained in:
		
							
								
								
									
										20
									
								
								gpiozero/__init__.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								gpiozero/__init__.py
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,20 @@ | ||||
| from __future__ import absolute_import | ||||
| from RPi import GPIO | ||||
|  | ||||
| GPIO.setmode(GPIO.BCM) | ||||
| GPIO.setwarnings(False) | ||||
|  | ||||
| from .input_devices import ( | ||||
|     InputDeviceError, | ||||
|     InputDevice, | ||||
|     Button, | ||||
|     MotionSensor, | ||||
|     LightSensor, | ||||
|     TemperatureSensor, | ||||
| ) | ||||
| from .output_devices import ( | ||||
|     OutputDevice, | ||||
|     LED, | ||||
|     Buzzer, | ||||
|     Motor, | ||||
| ) | ||||
		Reference in New Issue
	
	Block a user