Using functions

This is a special forum devoted to educators using Adafruit and Arduino products for teaching.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
Picaboo
 
Posts: 5
Joined: Sat Jul 03, 2021 10:18 am

Using functions

Post by Picaboo »

Screen Shot 2021-08-02 at 10.14.48 AM.png
Screen Shot 2021-08-02 at 10.14.48 AM.png (64.98 KiB) Viewed 2501 times
Why won't the dark song play in this code?

User avatar
Franklin97355
 
Posts: 23910
Joined: Mon Apr 21, 2008 2:33 pm

Re: Using functions

Post by Franklin97355 »

If you call dark song does it play oy is the if statement finding the condition? Try having the explicit function. (This from a person that does not know the programming language.)

Locked
Please be positive and constructive with your questions and comments.

Return to “For Educators”