GithubHelp home page GithubHelp logo

i2c troubleshooting about tmk_keyboard HOT 4 OPEN

ahito89 avatar ahito89 commented on June 29, 2024
i2c troubleshooting

from tmk_keyboard.

Comments (4)

ahtn avatar ahtn commented on June 29, 2024

Are you using the code from the master branch? The i2c code from the c44 branch is broken.

Here's a split-test-i2c.hex you can use to check if your wiring is right. Make sure to flash it to both halves.

  • Check the TX LED (next to pins 14,16) on the promicro which has the USB cable plugged in. It will light up when it cannot detect an I2C connection.
  • Check your wiring and the pull-up resistors for i2c.

from tmk_keyboard.

ahito89 avatar ahito89 commented on June 29, 2024

Hello,
I've flashed both halves with the provided hex files and the TX LED lights up, checked the wiring, but I could not figure out what's wrong. It works on the serial connection though. Isn't the serial connection enough for a split keyboard? What's the advantage of using i2c?

from tmk_keyboard.

ahtn avatar ahtn commented on June 29, 2024

In theory it's faster, but you should not be able to notice this in practice.

You don't really need to use i2c, unless you:

  • want to do a 3+ way split keyboard
  • want to send lots of data between the halves (e.g. per key LED matrix control information.)

from tmk_keyboard.

ahito89 avatar ahito89 commented on June 29, 2024

I see, well for a dactyl keyboard serial will suffice. Thanks for your help :)

from tmk_keyboard.

Related Issues (2)

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.