Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code defect? #92

Open
GoogleCodeExporter opened this issue Jun 21, 2015 · 0 comments
Open

Code defect? #92

GoogleCodeExporter opened this issue Jun 21, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?
PC: Linux Mint 17.1 KDE
Arduino IDE 1:1.0.5
Arduino Leonardo
Please provide any additional information below.
When I try to upload DemoPAL program:
/home/szymex/sketchbook/libraries/TVout/TVout.cpp: In member function ‘void 
TVout::tone(unsigned int, long unsigned int)’:
/home/szymex/sketchbook/libraries/TVout/TVout.cpp:825:5: error: ‘DDR_SND’ 
was not declared in this scope
     DDR_SND |= _BV(SND_PIN); //set pb3 (digital pin 11) to output
     ^
In file included from /usr/lib/avr/include/avr/io.h:99:0,
                 from /home/szymex/sketchbook/libraries/TVout/TVout.h:35,
                 from /home/szymex/sketchbook/libraries/TVout/TVout.cpp:35:
/home/szymex/sketchbook/libraries/TVout/TVout.cpp:825:20: error: ‘SND_PIN’ 
was not declared in this scope
     DDR_SND |= _BV(SND_PIN); //set pb3 (digital pin 11) to output
                    ^
/home/szymex/sketchbook/libraries/TVout/TVout.cpp: In member function ‘void 
TVout::noTone()’:
/home/szymex/sketchbook/libraries/TVout/TVout.cpp:876:2: error: ‘PORT_SND’ 
was not declared in this scope
  PORT_SND &= ~(_BV(SND_PIN)); //set pin 11 to 0
  ^
In file included from /usr/lib/avr/include/avr/io.h:99:0,
                 from /home/szymex/sketchbook/libraries/TVout/TVout.h:35,
                 from /home/szymex/sketchbook/libraries/TVout/TVout.cpp:35:
/home/szymex/sketchbook/libraries/TVout/TVout.cpp:876:20: error: ‘SND_PIN’ 
was not declared in this scope
  PORT_SND &= ~(_BV(SND_PIN)); //set pin 11 to 0
                    ^


Original issue reported on code.google.com by [email protected] on 2 May 2015 at 3:49

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant