View unanswered posts | View active topics It is currently Thu Jun 30, 2016 6:31 am

 Page 1 of 1 [ 4 posts ]
 Print view Previous topic | Next topic
Microsecond timing on the cortex?
Author Message
Rookie

Joined: Tue Dec 14, 2010 4:13 am
Posts: 4
Microsecond timing on the cortex?
Hi, i was wondering if their is any way i can get Microsecond timing on the cortex? I am going to try to output a compost video signal and i need microsecond timing.All the timing functions in robotc seem to on a millisecond clock, is their any way i can change this?

I know its doubtful that i can but i just though i would ask anyway.

thanks.

Tue Dec 14, 2010 4:25 am
Site Admin

Joined: Tue May 15, 2007 9:02 am
Posts: 409
Re: Microsecond timing on the cortex?
Unfortunately, no. Like you said, everything in ROBOTC is based off of millisecond timers. Sounds like a cool project though!

_________________
Jesse Flot
CMU Robotics Academy
ROBOTC Support

Tue Dec 14, 2010 10:36 am
Rookie

Joined: Tue Dec 14, 2010 4:13 am
Posts: 4
Re: Microsecond timing on the cortex?
It doesn't matter , i think i have a way to do it. I am going to see how many loops in a while loop it takes to go for 1 millisecond and then divide that number by 1000 and then i have 1 us thanks for the help though.

Tue Dec 14, 2010 2:13 pm
Rookie

Joined: Wed Dec 08, 2010 3:20 am
Posts: 6
Re: Microsecond timing on the cortex?
I suggest you get a larger sample, like how many iterations are needed for 10 or even 100 ms.
Should help with precision since 1ms can mean 1,0-1,99... ms while 100ms can mean 100,0-100,9.. ms

//neso

Wed Dec 15, 2010 3:26 am
Display posts from previous:  Sort by
 Page 1 of 1 [ 4 posts ]

#### Who is online

Users browsing this forum: paulflores and 1 guest

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

Search for:
 Jump to:  Select a forum ------------------ ROBOTC Applications    ROBOTC for LEGO MINDSTORMS       Third-party sensors    ROBOTC for CORTEX & PIC    ROBOTC for VEX IQ    ROBOTC for Arduino    Robot Virtual Worlds    Multi-Robot Communications    Issues and Bugs Competitions & Partners    Mini Urban Challenge    CS2N Robot Virtual Worlds Competitions       VEX Skyrise Competition 2014-2015       VEX Toss Up 2013-2014       FTC Block Party! 2013-2014    Competitions using VEX - BEST, TSA, VEX, and RoboFest!    FTC Programming    RoboCup Junior and Other ROBOT Competitions Virtual Brick Robotics Discussions    General Discussions    Project Discussions Off-Topic ROBOTC Forum & ROBOTC.net Suggestions/Feedback    ROBOTC Forums Suggestions/Comments    ROBOTC.net Suggestions/Comments       NXT Programming: Tips for Beginning with ROBOTC       VEX Programming: Tips for Beginning with ROBOTC    2013 Robotics Summer Of Learning       VEX Toss Up Programming Challenge       FTC Ring It Up! Programming Challenge    International Forums       Spanish Forums          ROBOTC for MINDSTORMS          ROBOTC for VEX       French Forums          ROBOTC pour Mindstorms          ROBOTC pour IFI VEX       Japanese Forums （日本語のフォーラム）       German Forums    2015 Spring Carnival Event    PLTW (Project Lead The Way)    Robotics Merit Badge    2014 Robotics Academy Summer of Learning

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