Forum Index
HomeZBasic Home   Forum RulesForum Rules   Forum FAQForum FAQ   MemberlistMemberlist   UsergroupsUsergroups   RSS FeedRSS Feed
Site SearchSite Search   LinksLinks   DownloadDownload   Digests and SubscriptionsDigests and Subscriptions
ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in   RegisterRegister
InputCapture on Timer 2

 
Post new topic   Reply to topic    Forum Index -> ZX-24
Author Message
sturgessb



Joined: 25 Apr 2008
Posts: 246
Location: Norwich, UK

Posted: 30 October 2008, 16:21 PM    Post subject: InputCapture on Timer 2 Reply with quote

Hi Guys

Is it at all possible to do inputcapture using the 8 bit Timer 2 (on zx-128ne)?

Ben
Back to top
dkinzer
Site Admin


Joined: 03 Sep 2005
Posts: 2499
Location: Portland, OR

Posted: 30 October 2008, 16:37 PM    Post subject: Re: InputCapture on Timer 2 Reply with quote

sturgessb wrote:
Is it at all possible to do inputcapture using the 8 bit Timer 2 (on zx-128ne)?
The 8-bit timers (like Timer0 and Timer2) don't have an input capture unit on any of the AVR devices that I've worked with.

You might be able to accomplish a similar result using a pin change interrupt or external interrupt in conjunction with a timer. The accuracy of this method won't be as good as that realized by using the input capture unit, though.
Back to top
sturgessb



Joined: 25 Apr 2008
Posts: 246
Location: Norwich, UK

Posted: 30 October 2008, 23:48 PM    Post subject: Reply with quote

ok no worries.

Just been reading about the new atmel XMEGA, is there any possibility of the zx range including these in the future?

Ben
Back to top
dkinzer
Site Admin


Joined: 03 Sep 2005
Posts: 2499
Location: Portland, OR

Posted: 31 October 2008, 1:01 AM    Post subject: Reply with quote

sturgessb wrote:
Just been reading about the new atmel XMEGA, is there any possibility of the zx range including these in the future?
Perhaps. The biggest obstacle at this time is that they aren't available in production quantities.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Forum Index -> ZX-24 Time synchro. with the server - Timezone/DST with your computer
Page 1 of 1

 


All content Copyright © 2005-2012 Elba Corp. All Rights Reserved.
Opinions expressed in posts are those of the author and not necessarily those of Elba Corp.
Powered by phpBB © 2001, 2005 phpBB Group