When I am using Timer1(or any other timer),what exactly means value in 16bit PR1 register?
Is it number of cycles,or maybe time in microsec?
Thanks
Search found 7 matches
- 23 Oct 2008 15:44
- Forum: mikroC General
- Topic: PIC 24F Timer1
- Replies: 1
- Views: 1418
- 27 Sep 2008 11:06
- Forum: mikroC General
- Topic: how to get higher input/output ports
- Replies: 11
- Views: 4636
- 27 Sep 2008 10:27
- Forum: mikroC Wish List
- Topic: lighting control (help plaese) to every one
- Replies: 17
- Views: 14085
- 01 May 2008 11:03
- Forum: mikroC for dsPIC30/33 and PIC24 General
- Topic: External Timers as External Interrupts
- Replies: 6
- Views: 4742
- 30 Sep 2007 19:58
- Forum: mikroC for dsPIC30/33 and PIC24 General
- Topic: stepper driver code error?
- Replies: 3
- Views: 3029
- 27 Sep 2007 20:16
- Forum: mikroC for dsPIC30/33 and PIC24 General
- Topic: Simple question, but I really really need help please...
- Replies: 6
- Views: 4355
Re: Simple question, but I really really need help please...
[quote="miskol"]i've been trying to just turn on an LED using dsPIC30F4013 for 3 days, everything seems wrong to me and i dont even know where to learn from to start from beginning. Below is the programming that i think should really turn ON the LED and makes it blink for each sec. my first question...
- 27 Sep 2007 20:11
- Forum: mikroC for dsPIC30/33 and PIC24 General
- Topic: stepper driver code error?
- Replies: 3
- Views: 3029
stepper driver code error?
Can anyone tell me what`s wrong with this code? void main() { char x,y,z,a,b,c; x=1; y=5; z=9; a=0; b=0; c=0; ADPCFG = 0xFFFF; TRISB=0XFFFF; TRISD=0X0000; ret: while (1) { if(PORTB.F0==1) if (a==0) goto mota; if(PORTB.F0==0) a=0; if(PORTB.F2==1) if (b==0) goto motb; if(PORTB.F2==0) b=0; if(PORTB.F4=...