mirror of
				https://github.com/KevinMidboe/python-gpiozero.git
				synced 2025-10-29 17:50:37 +00:00 
			
		
		
		
	Restructure index
Move the API to the end, recipes all grouped together up-front (with remote GPIO setup just before the remote GPIO recipes). Tweak some headings so everything looks a little more consistent in the (now shorter) ToC. Also added module index tags.
This commit is contained in:
		
							
								
								
									
										20
									
								
								docs/api_info.rst
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								docs/api_info.rst
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,20 @@ | ||||
| ==================== | ||||
| API - Pi Information | ||||
| ==================== | ||||
|  | ||||
| .. currentmodule:: gpiozero | ||||
|  | ||||
| The GPIO Zero library also contains a database of information about the various | ||||
| revisions of the Raspberry Pi computer. This is used internally to raise | ||||
| warnings when non-physical pins are used, or to raise exceptions when | ||||
| pull-downs are requested on pins with physical pull-up resistors attached. The | ||||
| following functions and classes can be used to query this database: | ||||
|  | ||||
| .. autofunction:: pi_info | ||||
|  | ||||
| .. autoclass:: PiBoardInfo | ||||
|  | ||||
| .. autoclass:: HeaderInfo | ||||
|  | ||||
| .. autoclass:: PinInfo | ||||
|  | ||||
		Reference in New Issue
	
	Block a user