kidoman / embd

Embedded Programming Framework in Go
http://embd.kidoman.io
MIT License
1.28k stars 156 forks source link

embd, rpi: determine pi revision, make rev2 pinmap default #13

Closed alsm closed 10 years ago

alsm commented 10 years ago

added a function to determine the revision of the pi the program is running on from "Revision" field in /proc/cpuinfo, also made the rev2 gpio pinmap the default

kidoman commented 10 years ago

Thanks for contributing