I am trying to make key matrix using TCA8418. So far I have managed to set the chip up, I am able to read, but whenever I press button, which is part of the matrix the chip freezes. The interupti is...
Type: Posts; User: MistrKernnunos
I am trying to make key matrix using TCA8418. So far I have managed to set the chip up, I am able to read, but whenever I press button, which is part of the matrix the chip freezes. The interupti is...
Thanks for the advices. Now it is working well, bur I have different problem. the problem is that whenever I press a button that is in the key matrix the chip wont respond to any messeges. the...
So, I am trying to make a keypad. I have managed to set sīthe chip up, but whenever I press a button and then try to read which button was pressed I recieve NACK on adress.
#include <Wire.h>
...
Thanks for the advice. Now it is not hanging on the endTransmission, but it is returning 2 and that means NACK on adress, but I am sure that the adress is right.
Yes, it finds the chip
I am using the same code, that I have posted earlier. And there is a foto of the circuit and the chip that I am using is TCA 8418.
16167
Hi, I resoldered the pins. Teensy can find the chip and start a transmission, but it hangs when I end the transmission. Do you have any ideas what icould caus the hang?
Thanks for the ideas, the connection between the pins and teensy is good. The program suddenly started working I dont know what I have done, but now it works.
However I have another problem. I am...
Hi,
I have a problem with I2C. I am running default Wire.h slave sender master reciever codes but the slave wont answer to master. and I am using 2K resistors.
16152
I want to have a separate teensy with three usb connectors one for regular usb and onther twos for i2c to connect it to other modules, they wont be far a way from each other. And I want on the...
Hi,
currently I am working on a project in which I will have multiple modules. And I want to make my own teensy 3.2 on separate PCB with usb and i2C connection for connecting to the difference...