View unanswered posts | View active topics It is currently Wed Oct 01, 2014 12:11 am






Reply to topic  [ 4 posts ] 
ROBOTC wait1uSec() discussion 
Author Message
Rookie

Joined: Mon May 14, 2012 3:24 pm
Posts: 43
Post ROBOTC wait1uSec() discussion
NeXT-Generation wrote:
It would be great to have a function like "wait1uSec()" and timers that can time in uSeconds.


I think Timothy posted there is an undocumented Sleep(microseconds) function.


Thu May 17, 2012 5:09 pm
Profile
Senior Roboticist
User avatar

Joined: Wed Sep 28, 2011 10:13 pm
Posts: 630
Location: If I told you, I'd have to kill you.
Post Re: ROBOTC for Arduino Wish List
Dennis Mabrey wrote:
NeXT-Generation wrote:
It would be great to have a function like "wait1uSec()" and timers that can time in uSeconds.


I think Timothy posted there is an undocumented Sleep(microseconds) function.


Yes, but then you have to account for the time it takes to go to sleep, and to wake up. It would be easier to just use a function similar to "wait1Msec()" that timed in uSecs.

_________________
A.K.A. inxt-generation
Self-proclaimed genius, and future world dominator.
My Brickshelf Folder
"Don't they teach recreational mathematics anymore?" - The Tenth Doctor
Bow down to Nikola Tesla, King of the Geek Gods.


Thu May 17, 2012 5:14 pm
Profile WWW
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3223
Location: Rotterdam, The Netherlands
Post Re: ROBOTC wait1uSec() discussion
Please keep discussions in a separate thread. Wishes only in the wish list thread.

- Xander

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Fri May 18, 2012 12:06 am
Profile WWW
Senior Roboticist
User avatar

Joined: Wed Sep 28, 2011 10:13 pm
Posts: 630
Location: If I told you, I'd have to kill you.
Post Re: ROBOTC wait1uSec() discussion
mightor wrote:
Please keep discussions in a separate thread. Wishes only in the wish list thread.

- Xander


Ah, yes. Agree. Don't want it to get like the NXC wishlist over at MiBo, eh Xander?

_________________
A.K.A. inxt-generation
Self-proclaimed genius, and future world dominator.
My Brickshelf Folder
"Don't they teach recreational mathematics anymore?" - The Tenth Doctor
Bow down to Nikola Tesla, King of the Geek Gods.


Fri May 18, 2012 12:10 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.