View unanswered posts | View active topics It is currently Wed May 22, 2013 5:25 pm






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: 510
Location: Totally not spying on Hassenplug to see what he has for the Brickworld Chicago 2013 sumo contest.
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: 2864
Location: Rotterdam, The Netherlands
Post Re: ROBOTC wait1uSec() discussion
Please keep discussions in a separate thread. Wishes only in the wish list thread.

- Xander

_________________
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)

| 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: 510
Location: Totally not spying on Hassenplug to see what he has for the Brickworld Chicago 2013 sumo contest.
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 1 guest


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.