Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

variable delay (in micro seconds) in Mikro C

Status
Not open for further replies.

robot510

New Member
i want to give a variable delay in micro seconds to my servo depending on the angle i need
my program is working with delay_us(const value) function
but i need a program where i can give input to the function as a variable like what is done in vdelay_ms
when i tried giving 0.6 or 1.5 ms values to the vdelay_ms function it gave erroneous results.

can someone please help me out?!? i'm using micKro C compiler software
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top