Coder Social home page Coder Social logo

Comments (3)

caternuson avatar caternuson commented on August 29, 2024 1

Going to do both. Going ahead with making the breaking change:
earlephilhower/arduino-pico#1468
and will update documentation - mainly to cover that it will now be Wire (or default) instead of Wire1.

This will make things easier in the long run. No need to make the explicit reference to Wire1, which has been an ongoing source of confusion and issues.

from adafruit_seesaw.

caternuson avatar caternuson commented on August 29, 2024

This is a legacy "feature". When the Feather RP2040 was originally added to the BSP, it lacked the ability to "map" the I2C pins to Wire or Wire1 as desired. So the pins being used by the Feather RP2040 ended up as Wire1 since they use the I2C1 peripheral of the RP2040.

Note that a non-default I2C bus can be passed in when creating the miniTFT seesaw instance. So the sketch's would (should) work with minor modification to the sketch code. No need to change any library code. Change:

Adafruit_miniTFTWing ss;

to:

Adafruit_miniTFTWing ss(&Wire1);

I2C being Wire1 is mentioned here:
https://learn.adafruit.com/adafruit-feather-rp2040-pico/pinouts#stemma-qt-3084853
but confusing since it's about the STEMMA QT connector. But the header pins are the same.

from adafruit_seesaw.

emeb avatar emeb commented on August 29, 2024

OK - looks like this is a non-conforming interface that can't be fixed without breaking all existing code. Perhaps the RP2040 feather documentation could be extended to mention your suggested instantiation change above?
At any rate, I'll close this issue now.

from adafruit_seesaw.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.