Search found 7 matches

by vukboban
23 Oct 2008 15:44
Forum: mikroC General
Topic: PIC 24F Timer1
Replies: 1
Views: 1418

PIC 24F Timer1

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
by vukboban
27 Sep 2008 11:06
Forum: mikroC General
Topic: how to get higher input/output ports
Replies: 11
Views: 4636

if this is still active,let me know,I have some simple and not very expensive solution

for inputs using cheap diodes(7 inputs and only 3 pins)
and for outputs using NOT and AND gates(3 pins for 7 outputs)

so theoreticaly you can have n pins and 2^(n-1) inputs or outputs!
by vukboban
27 Sep 2008 10:27
Forum: mikroC Wish List
Topic: lighting control (help plaese) to every one
Replies: 17
Views: 14085

just out of curiosity,how would IR sensor know if a person entered or left the room?
by vukboban
01 May 2008 11:03
Forum: mikroC for dsPIC30/33 and PIC24 General
Topic: External Timers as External Interrupts
Replies: 6
Views: 4742

well maybe it is an old message,but I have one really simple solution:

If you do not need 6 separate limit switches (and separate inputs) ,you could just wire them all in parallel (if they are NO) or serial (if they are NC) and have only one input capture!
by vukboban
30 Sep 2007 19:58
Forum: mikroC for dsPIC30/33 and PIC24 General
Topic: stepper driver code error?
Replies: 3
Views: 3029

hey,man it works!
thanks ,I gues if I go out of the loop in one line,can`t go back at the beginning,so this code really works!
BTW,I`m kind`a new to this,just learning micro c as well as c++

Thanks again

Now I`m working with half step
by vukboban
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...
by vukboban
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=...

Go to advanced search