Join us in Chat. Click link in menu bar to join. Unofficial chat day is every Friday night (US time).
0 Members and 1 Guest are viewing this topic.
so tell me if I have this right:if I wont to pause for 1.5 ms I could use this command PAUSE 2/3
For example, if I know my microcontroller takes 1.5ms to run a while loop 300 times, then I just do a while loop 300 times for my servo
the easiest method is just to use an oscope - send out a high-low pulse from a DO after the while loop is done, and measure the time between pulses.when the time reaches about 1.5ms, your servo should be centered.i dont bother calculating or counting anything cause its too dependent on hardware (the timing crystal, voltages, etc.)
Started by Barnaby
Started by deathwing61
Started by airman00