Forum Menu




 


Log in Problems?
New User? Sign Up!
AVR Freaks Forum Index

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
skiboy
PostPosted: May 27, 2012 - 12:29 PM
Newbie


Joined: Mar 24, 2012
Posts: 5


Hi
I want to use overflow timer0 with bascom but we have error for enable ovf0 and on ovf0 lable
what can I do?
 
 View user's profile Send private message  
Reply with quote Back to top
DocJC
PostPosted: May 27, 2012 - 12:48 PM
Raving lunatic


Joined: Dec 11, 2007
Posts: 6849
Location: Cleveland, OH

This Thread has a Bascom program which demonstrates 3 methods for flashing an LED.

It uses a Delay in the Main Loop, it uses an Overflow interrupt, and it uses a Capture/Compare interrupt.

Welcome to the Forum.

JC

Edit: Are you using the Bascom Demo or the Paid Version? At least in the past only the paid version had Xmega support.

JC
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
skiboy
PostPosted: May 27, 2012 - 02:16 PM
Newbie


Joined: Mar 24, 2012
Posts: 5


DocJC wrote:
This Thread has a Bascom program which demonstrates 3 methods for flashing an LED.

It uses a Delay in the Main Loop, it uses an Overflow interrupt, and it uses a Capture/Compare interrupt.

Welcome to the Forum.

JC

Edit: Are you using the Bascom Demo or the Paid Version? At least in the past only the paid version had Xmega support.

JC

thanks
we used bascom-AVR(2.0.7.3) it's paid version
we should use tccr-ovf0 instead ovf0?
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits