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.

PIC C18 problem

Status
Not open for further replies.

e_geek

New Member
Hi,

I am trying to build an hour, minute, second clock using PIC 18F4520 and microchip C18. I got stuck with the 7segment multiplexing. I can create (!!) the needed 2ms delay using TMR1 interrupt to switch the 7segments between them to display 'ones' and 'tens', but because I am new with PIC micro and C, I dont know how can I actualy put them in code. Any idea would be a great help.

Thanx in advance
 
This is not a C18 problem.

The problem is you do not know how to program in C.

The answer is to learn C.

I know that sounds blunt but you did not post any
code and without that a meaningful answer is impossible.

If you search this forum you will find code and hardware
for a 7 segment clock.
 
Last edited:
Status
Not open for further replies.

New Articles From Microcontroller Tips

Back
Top