Hi again
Hi all, I'm running out of time, and I've combined the Circuit with RB0-RB6 of the PIC connected to seg a to g of the 7-seg, and the RB7 connected to the decimal point, while the anodes goes to Vcc
while the PORT A is connected to the DIP switches, I cannot figure out how to connect it from the picture, so I connect them this way by logic:
RA0-RA3 to pin number 1-4 of the DIP switches, and the RA4, which I thought will read the 'enter' command provided by the fourth DIP switch (the fourth acted as an enter button, which is switched up and down to make it read the first 3 numbers of the PIN, I think the RA4 is used to read it when it is switched down)
but with all this, I connect it to 5 v Power supply (a 9V DC battery with a 7805)
and it wouldn't light even one segment, I'm totally confused, can someone help me please?
I've build the asm file with MPLAB IDE, and it works fine, no errors, just a message telling like :
''Register in operand not in bank 0. Ensure that bank bits are correct''
and have downloaded it to the IC with AllMax.
I've checked the 7-seg and it is in perfect condition, all the segments light with corresponding pin tested(with a battery) so I think it is not the problem.
the possible cause is maybe the PORT B output should be connected on an opposite condition, I mean RB7 to segment a, and RB0 for decimal point?
or maybe it is the PORT A input, the RA4 is supposed to be connected somewhere else?
I don't have any Idea what to do now...
Need lots of help
thanks a lot