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.

Microcontroller - Timer

Status
Not open for further replies.

Nut_Bolt_007

Newbie
Newbie level 3
Joined
Nov 14, 2018
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
41
Hi, I need to know how to program (in C) Timer (easy way) of PIC microcontroller.
For- PIC18Fxx series.
Thanks
 

Hi,

Millions of examples...do you really need another one?
Code examples with explanations, tutorials, application notes, videos.... if this is not more than enough.

The problem with your post is that there is no clear question.
We don't know what you have done so far.
We don't know where exacly you need help. We won't do internet search for you.
We wont read the datasheet for you and write its contents here.

So please show what you have done so far.
What you know, what you understand..and what you don't understand.

It won't fit in a 1.5 line post.

Klaus
 
hello,

wich MCU ?
wich Timer 0,2,4,6 ? 8bits or Timer 1,3,5 ...16 bits
choose one MCU
Read datasheet wich show all registers and sometime example in asm
then just translate asm -> C
very easy because register names could be nearly the same ..

a too much easy way is to use the mikroelektronica tool
(C:\_MikroC\mikroC PRO for PIC\Tools\Timer Calculator\TimerCalculator.exe)
but will learn nothing !
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top