jobin-sun / raspberry-gpio-python

Automatically exported from code.google.com/p/raspberry-gpio-python
MIT License
0 stars 0 forks source link

Suggestion - add Board revision function #50

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Often it can be useful to know board revision for other things like I2C bus to 
use.

RPI_REVISION is not that well documented, except in the realms of the source, 
most users do not delve that deep.

A suggestion is that

either more documentation about the variable
or a new function to return it 
or return value from functions like setmode when you are morelikely to be 
worrying about the board revision

Original issue reported on code.google.com by p...@pcserviceselectronics.co.uk on 13 Nov 2013 at 11:04