Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[PIC] As a begginer how to drive 7 segment using mikroc

Status
Not open for further replies.

alimemory

Junior Member level 1
Junior Member level 1
Joined
Jun 19, 2014
Messages
19
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Location
Nigeria
Visit site
Activity points
119
I start learning microcontroller 2weeks back.
I don't know anything on c programming even
programming.All right now I have little knowlegde on
thank.7«9100%Thanks for those people.
#include< THIS GREAT WEBSITE>;
Edaboard.
Right now i can teach people
HOW TO MADE SIMPLE LEDFLASH.
I PROBLEMS IS THAT
<1> How can i drive 7segment not copy and paste
<2>Can i use PORTA.B.C.D.E at same?
<3>What this means Portb=(010100100b)
step by step.
(no good grammer)
 

Hi,

As you are using Mikro C have you read this Mikro tutorial ?
http://www.mikroe.com/chapters/view/1/introduction-world-of-microcontrollers/

Plenty of 7 segment examples on Ytube
http://www.youtube.com/results?search_query=mikroc+seven+segments

You might also find some good info from these tutorials, though not in Mikro C
http://www.winpicprog.co.uk/pic_tutorial.htm
**broken link removed**
http://www.electro-tech-online.com/articles/nigel-goodwins-tutorials-in-c.467/
http://www.amqrp.org/elmer160/lessons/
http://www.epemag.wimborne.co.uk/resources.htm

Your other questions, 2 yes you can use most ports as you like, but need to be aware that many pins are multi-functional and for example, PortA is by default set to analogue mode you must set it to digital if you want to run something digital on those pins.

Portb=(010100100b) means that the data 01010010 0 is in 'b' binary form and for a pic16f877a it should only be 8 bits not 9
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top