0

Using functions
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Using functions

by Picaboo on Mon Aug 02, 2021 10:24 am

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 1140 times
Why won't the dark song play in this code?

Picaboo
 
Posts: 5
Joined: Sat Jul 03, 2021 10:18 am

Re: Using functions

by franklin97355 on Mon Aug 02, 2021 10:56 am

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.)

franklin97355
 
Posts: 22170
Joined: Mon Apr 21, 2008 2:33 pm
Location: Lacomb, OR.

Please be positive and constructive with your questions and comments.