jobin-sun / raspberry-gpio-python

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

Add getmode() function #46

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
As the setmode() function can be called at any time (to switch the numbering 
scheme between BCM and BOARD), for the sake of completeness it might be nice if 
there was a corresponding getmode() function (or property)?

Although if anybody *does* write a script with multiple setmode calls, they're 
obviously going to be confusing themselves with channel numbers ;-)

Original issue reported on code.google.com by gc...@loowis.durge.org on 16 Jul 2013 at 11:23