Hi,
I need help in using assembly language to program PIC16f84a for a traffic light. Please, I would appreciate any help.

Recommended Answers

How much pic assembly do you currently know...?
How intellegent do you wish this traffic light to be?
Are we talk about a single (Red,Ylw,Grn) traffic light?
Or more like an intersection with alternating sets of traffic lights?

You really should always give as much information about how far you …

Jump to Post

All 2 Replies

How much pic assembly do you currently know...?
How intellegent do you wish this traffic light to be?
Are we talk about a single (Red,Ylw,Grn) traffic light?
Or more like an intersection with alternating sets of traffic lights?

You really should always give as much information about how far you have though a project out or have gotten with the code.

Hi,
Looking at the family reference would be a good start. If you haven't already done so www1.microchip.com/downloads/en/DeviceDoc/33023a.pdf. This will give you an idea of what registers to use. Looking at LAT, TRIS and PORT registers will probably be your main focus as well as timers. I don't know how experienced you are at assembly but as demon916 mentioned, we need more info.

Regards,

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.