Could someone please help with the issue I’m having… I need to add sound to my robot but for some reason the color wipe and the playtone part gives me this error message and i don’t know why. Any help would be greatly appreciated!
Arduino: 1.6.12 (Windows 10), Board: “Arduino/Genuino Uno”
C:\Users\sambo\Desktop\ROBOTWARSV2\ROBOTWARSV2.ino: In function ‘void setup()’:
ROBOTWARSV2:29: error: ‘playTone’ was not declared in this scope
exit status 1
‘playTone’ was not declared in this scope
This report would have more information with
“Show verbose output during compilation”
option enabled in File → Preferences.
ROBOTWARSV2.ino (4.72 KB)