0

Makecode and Audio FX
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Makecode and Audio FX

by Graam on Thu Sep 10, 2020 8:06 pm

I'm hoping someone on here can give me a heads up relating to Serial outputs to trigger the TTL UART commands on an Audio FX board.

Is there any specific coding needed and would how do I need to LOW/HIGH the reset to activate the sounds. Thanks in advance.

Graam
 
Posts: 7
Joined: Mon Sep 07, 2020 6:33 pm

Re: Makecode and Audio FX

by adafruit_support_mike on Fri Sep 11, 2020 4:30 am

The FX Board's Serial interface is mutually exclusive with the trigger pins. You can use one or the other, but not both at the same time.

The state of the UG pin when the FX Board boots selects the control method. By default, the FX Board enables the trigger pins. To use the Serial control interface, you have to connect UG to GND.

adafruit_support_mike
 
Posts: 63056
Joined: Thu Feb 11, 2010 2:51 pm

Re: Makecode and Audio FX

by Graam on Fri Sep 11, 2020 5:23 am

Thanks Mike, is there any other specific cloding required? Or do I just need just need to write a line "PT00NEXT1OGG\n" and then it should play?

Graam
 
Posts: 7
Joined: Mon Sep 07, 2020 6:33 pm

Re: Makecode and Audio FX

by adafruit_support_mike on Fri Sep 11, 2020 11:36 pm

That should do it.

The Arduino library has all the command strings:

https://github.com/adafruit/Adafruit_So ... dboard.cpp

adafruit_support_mike
 
Posts: 63056
Joined: Thu Feb 11, 2010 2:51 pm

Please be positive and constructive with your questions and comments.