Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

How to use Interrupt in PIC16F877A in C..??

Status
Not open for further replies.
Yes i have re-wire/updated as you suggested in previous post...
and you were saying of inverting the data in port B...
 
No.. That was in ISIS... The 8x8 matrix needed inverting....

According to the video, it seems to be nearly there... I would just recheck the wiring. the rows need to be like this to the shift registers..

....1...2....3...4... // row 1
....5...6....7...8...
...9...10..11..12..
...13..14..15..16..
..
..
...21..22..23..24.. // row 8
 
Here it is.......
 

Attachments

  • sd.jpg
    sd.jpg
    59.1 KB · Views: 188
Not really... The rows are just pulsed in sequence... Its the shift registers that control the row being updated...

If you write an algorithm that only supplies the correct data for each row pulse... Then your screen refresh routine will be inside the interrupt... And that's not good..
 
Hi,

Scans from left to right... That's why you get reversed characters.
I have done this but the problem is not solved don't know why???

and if we see the fault with the help of ball there are total 6 led for it which like this ' ", don't know whats the problem??
 
Are you using my un-changed code?... What shift registers are you using again?

I want to change my program to suit those shift registers..

hi again,

I am using your code and 74164 registers....
 
Hi again,
I am using NPN transistor at port B with sinking that mean it is reversing the signal so, need to be changed by code!
 
No.. That was in ISIS... The 8x8 matrix needed inverting....

According to the video, it seems to be nearly there... I would just recheck the wiring. the rows need to be like this to the shift registers..

....1...2....3...4... // row 1
....5...6....7...8...
...9...10..11..12..
...13..14..15..16..
..
..
...21..22..23..24.. // row 8

I am working on it...
i found that after scanning left to right i found the character mirror..
like this L is coming |- i mean to say on top...
so, the scanning should be from bottom now???
 
Status
Not open for further replies.

New Articles From Microcontroller Tips

Back
Top