With Instructables you can share what you make with the world, and tap into an ever-growing community of creative experts.
Tell us about yourself!
No major changes are needed only change the 1 to 0 when referencing the bus as the original Raspberry Pi model B rev.1 and the Orange Pi's use 0 not 1The only changes to the code are:----Python...bus = smbus.SMBus(0)...----Bash...i2cget -y 0 $address 0x00 w |...I also added Fahrenheit and Celsius output
Thanks for the code, it works on my Orange Pi PC after minor modifications
Let your inbox help you discover our best projects, classes, and contests. Instructables will help you learn how to make anything!
© 2016 Autodesk, Inc.