Updated to work on all revisions (Rev1, Rev2, B+ and above)#2
Updated to work on all revisions (Rev1, Rev2, B+ and above)#2Aichan wants to merge 1 commit intoandycb:masterfrom
Conversation
- Removed BroadcomPinNumber no longer public as this numbering was confusing, PhysicalPinNumber is now abstracting it fully
|
Thanks for this. Some (minor and hopefully constructive) feedback:
|
Removed RaspberryPinNumber as it was confusing (to me) feel free to add it again.
BroadcomPinNumber is now "private" as you could not write portable code with it + numbering was confusing (0,1,21 became 2,3,27 after Rev1)
PhysicalPinNumber now abstracts BroadcomPinNumber detecting the Raspberry Pi revision type