I2C Device Hacking With Raspberry Pi 2
☟☟ Awesome T-Shirts! Sponsors! Books! ☟☟
I have 4 I2C devices attached to my Raspberry Pi, and have confirmed that I can talk to them.
I'm going to do some more hacking on this, maybe trying to get them working with C++.
RTC: https://datasheets.maximintegrated.com/en/ds/DS1307.pdf
OLED Driver: https://cdn-shop.adafruit.com/datasheets/SSD1306.pdf
9-axis Motion Sensor: https://invensense.tdk.com/wp-content/uploads/2015/02/PS-MPU-9250A-01-v1.1.pdf
Motion Sensor Register Map: https://invensense.tdk.com/wp-content/uploads/2015/02/MPU-9250-Register-Map.pdf
EEPROM: https://www.st.com/resource/en/datasheet/m24c32-x.pdf
OLED Python Examples: https://github.com/adafruit/Adafruit_Python_SSD1306/blob/master/Adafruit_SSD1306/SSD1306.py
RaspberryPi I2C Info: https://raspberry-projects.com/pi/programming-in-c/i2c/using-the-i2c-interface
Kernel.org I2C Documentation: https://www.kernel.org/doc/Documentation/i2c/dev-interface
T-SHIRTS AVAILABLE!
► The best C++ T-Shirts anywhere! https://my-store-d16a2f.creator-spring.com/
WANT MORE JASON?
► My Training Classes: http://emptycrate.com/training.html
► Follow me on twitter: https://twitter.com/lefticus
SUPPORT THE CHANNEL
► Patreon: https://www.patreon.com/lefticus
► Github Sponsors: https://github.com/sponsors/lefticus
► Paypal Donation: https://www.paypal.com/donate/?hosted_button_id=PQ4A2V6ZZFQEU
GET INVOLVED
► Video Idea List: https://github.com/lefticus/cpp_weekly/issues
JASON'S BOOKS
► C++ Best Practices
Amazon Paperback: https://amzn.to/3wpAU3Z
Leanpub Ebook: https://leanpub.com/cppbestpractices
JASON'S PUZZLE BOOKS
► Object Lifetime Puzzlers Book 1
Amazon Paperback: https://amzn.to/3g6Ervj
Leanpub Ebook: https://leanpub.com/objectlifetimepuzzlers_book1
► Object Lifetime Puzzlers Book 2
Amazon Paperback: https://amzn.to/3whdUDU
Leanpub Ebook: https://leanpub.com/objectlifetimepuzzlers_book2
► Object Lifetime Puzzlers Book 3
Leanpub Ebook: https://leanpub.com/objectlifetimepuzzlers_book3
► Copy and Reference Puzzlers Book 1
Amazon Paperback: https://amzn.to/3g7ZVb9
Leanpub Ebook: https://leanpub.com/copyandreferencepuzzlers_book1
► Copy and Reference Puzzlers Book 2
Amazon Paperback: https://amzn.to/3X1LOIx
Leanpub Ebook: https://leanpub.com/copyandreferencepuzzlers_book2
► Copy and Reference Puzzlers Book 3
Leanpub Ebook: https://leanpub.com/copyandreferencepuzzlers_book3
► OpCode Puzzlers Book 1
Amazon Paperback: https://amzn.to/3KCNJg6
Leanpub Ebook: https://leanpub.com/opcodepuzzlers_book1
RECOMMENDED BOOKS
► Bjarne Stroustrup's A Tour of C++ (now with C++20/23!): https://amzn.to/3X4Wypr
AWESOME PROJECTS
► The C++ Starter Project - Gets you started with Best Practices Quickly - https://github.com/cpp-best-practices/cpp_starter_project
► C++ Best Practices Forkable Coding Standards - https://github.com/cpp-best-practices/cppbestpractices
O'Reilly VIDEOS
► Inheritance and Polymorphism in C++ - https://www.oreilly.com/library/view/inheritance-and-polymorphism/9781491961933/
► Learning C++ Best Practices - https://www.oreilly.com/library/view/learning-c-best/9781491954898/