AlbertHall
- Joined Jun 4, 2014
- 12,346
I want to make single function that test each buttons in sequence if switches pressed store it somewhereSo what's wrong with the code in #16?
That's the point. How do you learn coding by never testing the code you write?Update : AlbertHall you posted link while I was typing. I do not have that much of level. I am far away from keyboard. I am teaching my self by solving thoughts comes in mind
I was testing all the codes on my PC. I know I have to get one development board for embedded programming and It would be very soon in my handThat's the point. How do you learn coding by never testing the code you write?
16 buttons need only eight pins to test if you put them in a four by four matrix.
It's really difficult for me to jump on topic matrix keyboard , I was looking for the logical explanations.
Basically whatever I could say without going into explaining the whole subject in detail, goes in line with what Albert is telling you. Reading 16 buttons separately sounds irrational.@AlbertHall @atferrari
Assume we have bellow 16 buttons like this each label A B C D E F G H I J K L M N O P
I know the basics of c programming so how to use basic concept to read the all buttons. remember I am not talking about coding. I am asking for logic
It's really hard me to solve the problem I don't have idea whatever I had in mind I have already explained
View attachment 191192View attachment 191193View attachment 191194View attachment 191195
I am sorry but I think that's not solution of problemBasically whatever I could say without going into explaining the whole subject in detail, goes in line with what Albert is telling you. Reading 16 buttons separately sounds irrational.
Thread starter | Similar threads | Forum | Replies | Date |
---|---|---|---|---|
G | Usart issue on pic16f | Microcontrollers | 14 | |
Interfacing MCP41HVX1 with PIC16F | Microcontrollers | 6 | ||
PIC16F ASM Bank Selection | Microcontrollers | 5 | ||
Doubt in the rotation asm pic16F | Microcontrollers | 7 | ||
A | Differences programming PIC16F and PIC18F | Homework Help | 3 |
by Jeff Child
by Aaron Carman
by Duane Benson