is the "__has_include("file.h") not testing if "file.h" CAN be included and not if it is included by the sketch?
gcc.gnu.org/onlinedocs/cpp/_005f_005fhas_005finclude.html :
"The special operator __has_include...
If I understand correctly, this is your sequence of operation:
you start MTP
you start Logger
You stop Logger
You do not see files added by Logger.
This is how MTP works.
The PC has under normal circumstances...
The reason for this implementation is that in MTP the PC is the master and it can do what it wants. For example, PC does not need to refresh directories, and Windows behaves differently than Linux. Teensy responds...
Logarithmic frequency scales are very common in bio-acoustics as they reflect the hearing capabilities of animals.
However FFT is common in signal processing as it is fast but results in a linear frequency scale....
The I2S microphone has LSB bot 0 while the I2SInput (from audio library) uses as LSB bit 16 (uses top 16 bit)
you can hear only very loud signals
test: hit on microphone, you should hear something.
Unfortunately...
Not sure if the RAWHID_* and DEVICE_ * are needed and what they are doing
they com from USB_EVERYTHING
they are used in part for
USB_SERIAL_HID (DEVICE_*)
USB_RAW_HID (RAWHID_*)
but
USB_MIDI4,16...
One issue with MTP+Serial is that it uses for the moment the PID of Everything
Even if MTP+Serual is not yet ready to be included for full, I continue to suggest that Paul defines a dedicated PID, so we can run the...
About 3 years ago, I made a FAT free FS called ZeroFS
https://github.com/WMXZ-EU/zeroFS
Not that I suggest you to use this, but it may be easier to digest what I did than analysing FatFs
In general
you only have to...
From T4.1 card, I see
SCK,MOSI,MISO
SCK1,MOSI1,MISO1
SCK2,MOSI2,MISO2
You should be able to use any set for talking to uSD cards
HOWEVER, you must then adapt the SD card interface accordingly.
There may be also...
For SPI,
you always should check that CLK,MOSI,MISO and chip select of your board correspond to your program. The Teensy card may help to figure out the standard values.
Thanks Bill,
I tried with new disk and it worked also here.
sane configuration (SdFat 2.1.2, Teensyduino 1.56 with Arduino 1.8.19)
must have screwed up my earlier testing.
Just downloaded actual version and without further editing of SdConfig.h and activating build-in debug messages, I get
test exFAT logger
sd.begin() done
file FILE_A.txt, pos=8192, adding 8192 bytes, written 8192...