Matrix Keyboard controlling LinuxCNC

More
3 years 1 month ago #280726 by panming
Alex,I'm sorry that I forgot my ssd is breaken.I will test tomorrow.

Please Log in or Create an account to join the conversation.

More
3 years 1 month ago #280844 by panming
Alex,sorry to be late.I tried your program and it doesn't seem to be working correctly.

I'm not sure if it's due to a pinout error in the panel.

to simplify things ,I replaced it with a regular 8*8 matrix keypad.

When I type M5:1 all the led light up at the same time, and type M5:0 the led still work.

Even when I uncommented the delay function that you commented out, the situation remains the same.

Looking at the debug message, it seems that the packet is correct.


E0:0
E0:0
E0:0
E0:0
E0:0
multiplexed Led No:5Set to:1
I Received= M5:1
E0:0
first connect
multiplexed Led No:5Set to:0
I Received= M5:0
multiplexed Led No:5Set to:1
I Received= M5:1
disconnected

Please Log in or Create an account to join the conversation.

More
3 years 1 month ago #280869 by AlexMagToast
are you shure you didn't invert the polarity of the LEDs?

Please Log in or Create an account to join the conversation.

More
3 years 1 month ago #280894 by panming
It seems that there is indeed a problem with the polarity, but even if there is a problem with the polarity, when I type M5:1, he should turn off the led5.

I'll be going to really analyze what the problem is on Sunday. I still have to go to work on Saturday.

Please Log in or Create an account to join the conversation.

More
3 years 1 month ago #280913 by AlexMagToast
Ok, i will too work on it and try to test the code myself.
Do you use Discord? Maybe we can have a video Chat?

Please Log in or Create an account to join the conversation.

More
3 years 1 month ago #280915 by panming
Sorry, due to the special network environment in China, we can't use most foreign instant messaging platforms, my VPN's bandwidth may not support real-time video, maybe we can use other methods, TG or WeChat
The following user(s) said Thank You: rodw

Please Log in or Create an account to join the conversation.

Time to create page: 0.156 seconds
Powered by Kunena Forum