View Single Post
Old 04-08-2014, 08:00 AM   #6418 (permalink)
MPaulHolmes
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,362
Thanked 1,202 Times in 765 Posts
It was how the loop worked out. I'll sacrifice some cycles and make the 10ths of a second (or some variation thereof) work. Still, the PI loop isn't going to converge instantly, so I would certainly try a delay of zero, since it won't really be zero.

EDIT: OK that didn't take long! It will just add a single multiply and single bit shift. This will be no problem whatsoever. Then I can do it in increments of, say, 1/32sec, or whatever. Lots of flexibility. I was in thinking jail, and needed to be free. LOL.
__________________
kits and boards
  Reply With Quote