0

Feather M0 Express / Prop Maker Wing - No Sound
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Re: Feather M0 Express / Prop Maker Wing - No Sound

by dastels on Thu Jan 23, 2020 10:52 am

OK, I'm trying to get more eyes on this.

dastels
 
Posts: 1643
Joined: Tue Oct 20, 2015 3:22 pm

Re: Feather M0 Express / Prop Maker Wing - No Sound

by adafruit2 on Thu Jan 23, 2020 3:38 pm

hi you need to create the tone on
Code: Select all | TOGGLE FULL SIZE
A0

and set pin
Code: Select all | TOGGLE FULL SIZE
10
to an
Code: Select all | TOGGLE FULL SIZE
OUTPUT
and
Code: Select all | TOGGLE FULL SIZE
HIGH
at the beginning of the sketch
please try that, & post up your code if it doesnt work

adafruit2
Site Admin
 
Posts: 19043
Joined: Fri Mar 11, 2005 7:36 pm

Re: Feather M0 Express / Prop Maker Wing - No Sound

by darsk on Thu Jan 23, 2020 10:17 pm

S U C C E S S ! ! !

The trick was to turn on pin 10, and send the audio to A0.

Thank you thank you!! This is blasting loud & super clear - just what I wanted!!

darsk
 
Posts: 48
Joined: Fri Jan 10, 2020 12:33 pm

Re: Feather M0 Express / Prop Maker Wing - No Sound

by dastels on Thu Jan 23, 2020 10:36 pm

That's what your early (see page 1 on this thread) CircuitPython code was doing. Try that again and see if it works now.

dastels
 
Posts: 1643
Joined: Tue Oct 20, 2015 3:22 pm

Re: Feather M0 Express / Prop Maker Wing - No Sound

by darsk on Fri Jan 24, 2020 12:34 am

After reading more, it seems Python is much easier to use for audio, so I've gone back to it. And back to having no sound.

darsk
 
Posts: 48
Joined: Fri Jan 10, 2020 12:33 pm

Re: Feather M0 Express / Prop Maker Wing - No Sound

by dastels on Fri Jan 24, 2020 10:51 am

Well, now you know it isn't a hardware problem!

dastels
 
Posts: 1643
Joined: Tue Oct 20, 2015 3:22 pm

Re: Feather M0 Express / Prop Maker Wing - No Sound

by dastels on Fri Jan 24, 2020 10:51 am

You're using that same CircuitPython code?

dastels
 
Posts: 1643
Joined: Tue Oct 20, 2015 3:22 pm

Re: Feather M0 Express / Prop Maker Wing - No Sound

by darsk on Fri Jan 24, 2020 11:30 am

Yes. The same as on page one here. I'm wondering if the libraries or initial setup have something to do with it. I would think that if the libraries weren't found, that an error would occur... but maybe not? I tried bringing in the libraries referenced in the code, but could only find one in the bundle on the web site. Where are the other two? (if that matters)

darsk
 
Posts: 48
Joined: Fri Jan 10, 2020 12:33 pm

Re: Feather M0 Express / Prop Maker Wing - No Sound

by dastels on Fri Jan 24, 2020 12:16 pm

Hmm.. digitalio, board, and audioio are all built-in to the CircuitPython runtime.

Yes, if import can't find the module it will fail and give an error.

That code works fine when I try it with a propwing on a FeatherM4Express.

Weird.

dastels
 
Posts: 1643
Joined: Tue Oct 20, 2015 3:22 pm

Re: Feather M0 Express / Prop Maker Wing - No Sound

by adafruit2 on Fri Jan 24, 2020 12:53 pm

whats the REPL output?

adafruit2
Site Admin
 
Posts: 19043
Joined: Fri Mar 11, 2005 7:36 pm

Re: Feather M0 Express / Prop Maker Wing - No Sound

by darsk on Fri Jan 24, 2020 7:33 pm

Press any key to enter the REPL. Use CTRL-D to reload.
Adafruit CircuitPython 4.1.2 on 2019-12-18; Adafruit Feather M0 Express with samd21g18
>>>

darsk
 
Posts: 48
Joined: Fri Jan 10, 2020 12:33 pm

Re: Feather M0 Express / Prop Maker Wing - No Sound

by adafruit2 on Fri Jan 24, 2020 7:55 pm

press control-D

adafruit2
Site Admin
 
Posts: 19043
Joined: Fri Mar 11, 2005 7:36 pm

Re: Feather M0 Express / Prop Maker Wing - No Sound

by darsk on Fri Jan 24, 2020 7:59 pm

Auto-reload is on. Simply save files over USB to run them or enter REPL to disable.

Press any key to enter the REPL. Use CTRL-D to reload.
Adafruit CircuitPython 4.1.2 on 2019-12-18; Adafruit Feather M0 Express with samd21g18
>>>
soft reboot

Auto-reload is on. Simply save files over USB to run them or enter REPL to disable.



Press any key to enter the REPL. Use CTRL-D to reload.

darsk
 
Posts: 48
Joined: Fri Jan 10, 2020 12:33 pm

Re: Feather M0 Express / Prop Maker Wing - No Sound

by adafruit2 on Fri Jan 24, 2020 8:02 pm

paste a screenshot of CIRCUITPY disk drive contents

adafruit2
Site Admin
 
Posts: 19043
Joined: Fri Mar 11, 2005 7:36 pm

Re: Feather M0 Express / Prop Maker Wing - No Sound

by darsk on Fri Jan 24, 2020 8:15 pm

I removed the windows drivers since this is on a Mac.
Attachments
Screen Shot 2020-01-24 at 4.02.29 PM.png
Screen Shot 2020-01-24 at 4.02.29 PM.png (186.95 KiB) Viewed 17 times

darsk
 
Posts: 48
Joined: Fri Jan 10, 2020 12:33 pm

Please be positive and constructive with your questions and comments.