KurtE, just to clarify, if I don't use the memory och SD on the Audio shield I could use pin 7 as MOSI for the TFT, since Pin 11 is MCLK? I do not have to use pin 28? Is the MOSI pin not required to get audio in or out...
Great, I also have a Audio shield which use Pin 11.
Will the Audio shield conflict with the TFT?
If so, I noticed that Pin 28 also is MOSI0. If I want to use all four Serials, a TFT and the Audio shield could I...
I want to use pin 7 for RX3 but also use a TFT ILI9341.
Pin 7 is supposed to connect to SDI on the TFT.
The T4.1 uses pin 11 for SDI.
Is it possible to have pin 11 act as SDI on T3.5?
Hi, is it possible to use Serial3 on T3.5 with an audio shield?
It's connected to "Data Storage (SPI) from Teensy to SD/MEM" according to the schematics.
I don't plan on using the memory card slot on the audio shield....
The best solution would as suggested be to desolder the cap or use another Serial, but I ended up cutting pin 15 going into the header on top of the T4.1.
Thanks
Johan
Hi, the audio adaptor on top of my T4.1 interferes with the RX of Serial3 (pin15).
Serial3 reads random numbers with intermittent zeros.
The audio adaptor is the culprit because if I remove it the RX is fine.
I...
Thanks Paul, FranK B and defragster for your patience and help.
I indeed posted pseudo code to illustrate my point, my sketches are about 5000 lines each so I did not know of a way to explain the issue in an other...
I have four T3.5 modules sending and receiving data between each other without any issues, on the right UARTs. This only happens when I try to send data between the T3.5s and a T4.1.
Hi,
I'm using the following UARTs on a Teensy 4.1:
#define Teensy_UART1 Serial1
#define Teensy_UART2 Serial8
#define Teensy_UART3 Serial3
#define Teensy_UART4 Serial7
From another Teensy (3.5) I'm sending...
Thanks to you guys for your patience in explaining this, I now get that I have to add the "arduino.h" to the .cpp-file of my sample as well as PROGMEM in order to put my samples into Flash memory.
I have not included Arduino.h, I will try that, thanks. However, I still cannot understand how 8Mbyte Flash is insufficient when the Flash in T3.5 was enough to load my samples?
Unfortunately I get this message:
C:\Users\johan\AppData\Local\Temp\arduino_build_903646\sketch\src\samples\bpb606bd04.cpp:6:1: error: 'PROGMEM' does not name a type
PROGMEM const unsigned int bpb606bd04 = {
^
// Audio data converted from WAV file by wav2sketch
#include "bpb606bd04.h"
// Converted from bpb606bd04.wav, using 44100 Hz, u-law encoding
const unsigned int bpb606bd04 = {...
The "not enough memory" issue disappears when I disable this code:
// ACTIONS PERFORMED WHEN GATE 1 IS HIGH/LOW
void actionsReadGate1(int state){
switchGate(1,state);
if(state){
...
Hi, i have had trouble with the pow() function not having the precision I need (floats).
I wrote a small library to replace the pow() but wonder about the for-loop, will that slow things down?
/Johan
<CODE>...