Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Hi guys,
I have some problems here.
Firstly, I'm using PICDEM2 Plus and the chip connected to it is PIC18F4520.
Also there is an EEPROM that is attached to the board - 24LC256
In my program, I've set my TRISCbits.RC3 and TRISCbits.RC4 as '0' for my Master side and TRISCbits.RC3 and...
Hmm. So in that case, I can't use that code to link with an LCD code?
Or is that code still possible? When I check if the Data Available is high, it will start checking the DCBA and it will output the key corresponding with the binary codes.
The target board that was given to me is included with the encoder.
Do you mind explaining why key = PORTC & 0x0F; ?
This will be interfaced with an LCD.
I'm currently trying to type out a code that can scan the keypad for buttons that are being pressed. It is attached to a 74C922 Encoder.
The rows and columns have been shrink down to only 5 pins which are labelled as D C B A, D being the MSB.
I'm using RC0,RC1,RC2 and RC3 for D C B A...
{ int cnt = 5, a=1;
if ( - -a )
cnt = cnt – a;
else
a++;
}
I still can't figure out what is the value of 'a' in this case?
I know cnt will be 5. How bout a ?
Does anyone knows? Please explain thanks!
Hello. I need some help here for my programming. I managed to lit the LCD up using the default code. But I'm thinking of how to do an alarm clock or countdown timer by modifying it. I'm not sure how to modify but I need some help here. Here is the code I'm using.
/******* P3_MCC18.c...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.