Libstock
It is currently 23 Oct 2014 08:55

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 23 Jan 2010 14:15 
Offline

Joined: 23 Jan 2010 14:04
Posts: 1
guys,

I just started to learn the C progam. and in fact i just got some problem writing the code for my project. i'm using 2 led to display the number entered. it can count up to 99. tha't is 2 digit. and the problem is , i don't extra ping from my controller(p18f4520) so i connect both led together. that's ping a for led is connected to ping a of led2 and same apply to ping b, c , d ...

i will be really appreciate if someone can provide me a simple program for my project.

thank

Regards,
ArRix


Top
 Profile  
 
 Post subject:
PostPosted: 02 Feb 2010 09:59 
Offline
mikroElektronika team
User avatar

Joined: 17 Aug 2009 16:51
Posts: 1741
Location: Belgrade
Hi,
You may use Seven Segment Display example for EasyPIC5 as a good start for your project. You may download examples written for PIC16F877A and do the necessary adjustments for your chip.
http://www.mikroe.com/zip/easypic5/easypic5_examples_p16f877a.zip
You should also take a look at the schematic of how 7 segment LED display is connected on EasyPIC5 board, so you might consider adjusting your hardware accordingly. Here's the part of manual related to this:
http://www.mikroe.com/pdf/easypic5/easypic5_manual_v101.pdf#page=21

Best regards,
Aleksandar

_________________
mikroElektronika Product Manager


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: Bing [Bot], Yahoo [Bot] and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group