Menu

#180 Allow setmode(GPIO.BOARD) to be forced

New
nobody
None
Medium
Enhancement
2020-06-03
2020-06-03
Paul Grimes
No

I am using a Raspberry Pi CM3+ compute module in a Waveshare PoE I/O board that recreates the RPi 40 pin header on the board, so that standard HATs etc, can be used with the CM3/CM3+. If I could force RPi.GPIO.setmode() to accept GPIO.BOARD on the CM3+, I could avoid changing a significant amount of other code.

Could a keyword argument be added to .setmode() to allow the user to override the error checking for Raspberry Pi type?

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.