BasicMicroUK - Forums

www.basicmicro.co.uk
It is currently Mon Aug 20, 2018 9:42 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Problem using Timed Interrupts
PostPosted: Sat Mar 26, 2011 6:57 pm 
Offline
New User

Joined: Tue Mar 15, 2011 12:40 am
Posts: 1
I am trying to set up an interrupt that executes every 20ms. (This is for generating a R/C pwm signal) I have a Basic Atom 28m.

Anyway I am trying to find some documentation on how to set up the on board timers (TCRV) so i know what values to load in then for a 20ms timer. Then I could use a TIMERVINT_OVF to execute my handler every 20ms.

Any help would be appreciated.


Top
 Profile  
 
 Post subject: Re: Problem using Timed Interrupts
PostPosted: Sat Mar 26, 2011 9:14 pm 
Offline
Master

Joined: Tue Nov 21, 2006 5:34 pm
Posts: 662
I put some more details up on the Lynxmotion post...

Kurt


Top
 Profile  
 
 Post subject: Re: Problem using Timed Interrupts
PostPosted: Mon Mar 28, 2011 6:13 pm 
Offline
Site Admin
User avatar

Joined: Thu Mar 01, 2001 7:00 pm
Posts: 1316
Location: Temecula, CA
Can you post a link to the Lynxmotion post, Kurt? Lets try to keep cross posts linked so it's easier to find the info in the future.

_________________
Tech Support
Basic Micro - Robotic Technology Evolved


Top
 Profile  
 
 Post subject: Re: Problem using Timed Interrupts
PostPosted: Mon Mar 28, 2011 10:06 pm 
Offline
Master

Joined: Tue Nov 21, 2006 5:34 pm
Posts: 662
It was under the thread: http://www.lynxmotion.net/viewtopic.php?f=4&t=7260

Note: he later replied:
Quote:
is the syntax different if i have a pic16f876? I just noticed it was a PIC instead


Kurt


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 0 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

Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

phpBB SEO