Code Monkey home page Code Monkey logo

Comments (5)

u0sama avatar u0sama commented on September 17, 2024 1

check this
https://playground.arduino.cc/Main/SoftwareI2CLibrary

from adafruit_ssd1306.

mike-rankin avatar mike-rankin commented on September 17, 2024

You cannot change the i2c pins to any pins you want. An i2c device has to be on i2c pins.

from adafruit_ssd1306.

pauledd avatar pauledd commented on September 17, 2024

I run into the same issue because PIN 5 on my nano are occupied by freqcount library and can be definetly not changed to another pin because of this "interrupt" thing ... so this pins is not available for me to use SCL.

from adafruit_ssd1306.

myhd avatar myhd commented on September 17, 2024

In the meantime, this pull request has what you want (example for SDA/SCL on 5/4): ESP32/ESP8266 I2C Clock Speed 800kHz & user-definable I2C GPIO Pins

How to get it:

  • git clone library into your arduino library folder
  • check out above pull request locally (e.g. see Checking Out GitHub Pull Requests Locally)
  • initialize display with something like this: display.begin(SSD1306_SWITCHCAPVCC, 0x3C, 0, 5, 4, 800000 );

from adafruit_ssd1306.

ladyada avatar ladyada commented on September 17, 2024

TwoWire pointers are now supported - if you make a Wire object that is compatible it will work!

from adafruit_ssd1306.

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.