Pages: [1]   Go Down
Author Topic: TVout Library and Tone...  (Read 192 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 92
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm trying to get tone to work with the TVout library, but as soon as the TVout is initialized, the tone library stops functioning normally.  It seems as if the video sync is taking precedence in something...

I'm using pin 8 (PWM pin) with the TVout library.

So what gives? is it that the TVout library is displaying on every clock edge? or at 60Hz? and the sound library is out of sync with the video...?
Logged

*** HAXoDROME ***
Join the hacking speedway
www.youtube.com/RET80

Like our adventures on Facebook!
https://www.facebook.com/haxodrome

The Netherlands
Offline Offline
Edison Member
*
Karma: 50
Posts: 1662
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

TVout needs accurate and specific timing.
Assume timers are set to this specific goal, and therefore playing tunes will get messed up.
Logged

Have a look at "blink without delay".
Did you connect the grounds ?
Je kunt hier ook in het Nederlands terecht: http://arduino.cc/forum/index.php/board,77.0.html

Offline Offline
Jr. Member
**
Karma: 0
Posts: 92
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

TVout needs accurate and specific timing.
Assume timers are set to this specific goal, and therefore playing tunes will get messed up.


As I had thought.  Any recommendation to match the TVout's timer? and where would I go to do this, the TVout source?
Logged

*** HAXoDROME ***
Join the hacking speedway
www.youtube.com/RET80

Like our adventures on Facebook!
https://www.facebook.com/haxodrome

Pages: [1]   Go Up
Jump to: