After you install any of these libraries, click File > Examples and scroll down the long list to look for your freshly installed library's examples.
Some of these libraries give multiple ways to access the hardware. You want "hardware SPI"...
I tried running older IDE versions. Looks like ZST works all the way back to IDE 2.0.4, at least on Linux. Assuming Windows and MacOS are the same.
Looks like IDE 2.0.3 is the point where we lose compatibility with "extracting archive: Not a...
Quick followup to this old thread. For the next version of Teensyduino, I'm adding a check for the installed location if running on Windows. If Teensyduino appears to in a pathname installed by Boards Manager, but Arduino IDE doesn't give...
In Arduino IDE, first make sure you have Teensy selected either from the drop-down list in the toolbar or from Tools > Board menu. The rest of Arduino's menus update depending on the selected board.
Then look for the examples in File > Examples...
Please understand I'm guessing trying to figure out what's wrong over the internet without access to your hardware... so here's another blind guess.
I see you have Adafruit_NeoPixel library in use. Looks like Adafruit_NeoTrellis might also have...
You might also consider placing resistors in series with the Teensy pins. Even 1K will go a long way towards limiting current and protecting Teensy is something really bad happens to the transceiver chip, or anything else that has a GPIO pin...
Looking like ZST is the clear winner. And wow is XZ slow (as implemented by Arduino using Google Go) on Windows. It was slower when I tried on Linux, but nothing like that slow!
In this screenshot you can see a slightly different URL than the one recommended on the download and install page. It's from this forum thread where we're testing alternate compression for the next release. For long term use, you should use the...
Version 2.2.1 is the latest stable release. I downloaded the nightly build from Arduino's website just now. It says versions 2.2.2-nightly-20231130. That ought to be the very latest.
Indeed it has the same "Additional boards manager URLs" in...
Wow, I saw XZ was slower on Linux too, but that's a pretty incredible difference.
Hopefully more people with Windows can give this a try and report on the overall speed....
Running on a Windows 11 home edition pc I removed Teensy before each test then did the install. Used 1.58.1 as the common denominator. Windows stopwatch was used for timing.
Original BZ2 Compression: 3 minutes 43 seconds
ZST Compression: 3...
Arduino IDE now supports ZST and XZ compression. I'm considering switching from BZ2. Downside is we lose compatibility with Arduino IDE 2.0.x and maybe even 2.1.x. So the big question is, are these better compression formats worth it?
XZ...
Unfortunately this is impossible. NXP simply did not provide this capability (in the RT1062 chip). No amount of wishful thinking or crafty software can cause a wire to exist where there is none inside the chip between a GPIO pin and the ADC...
Blind guess... can you connect a voltmeter to monitor at the power input? Perhaps with Teensy 4.1 and the LEDs and audio shield you might be running right at the limit of your power supply. Then using the SD card might be adding more power...
I re-read this thread but couldn't see which particular motion sensor board you have. Would be much easier to answer this sort of question if you could give a link to the product page if it's from a well-known site like Sparkfun or Adafruit. Or...
Do you have any specific webcam model that definitely supports bulk transfer? I'd like to buy one to have for testing. Even if odds are slim I'll manage a lot, maybe I can help in small ways with the low-level stuff if you get stuck.
Confirm, the main reason is to prevent possible back flow of current into your PC. Or the same into whatever power supply is connected to Teensy, if that power supply is turned off while the PC gets connected.
Indeed the risk in practice is...
First to answer your "Is it possible" regarding 512 bit data frame, yes, at least in theory from reading the reference manual and datasheet specs. But as a practical matter, editing the audio library code to accomplish this requires...
Several times I've considered making an ADC shield. Might still do it. Recently have been playing with a relatively cheap (~$4) single channel 16 bit ADC chip and a 8:1 mux, both controlled with FlexIO. Input setting time is a difficult...
Every Teensy comes with a pinout reference card that shows which pins. I'm guessing you already have that? Or you can see it on the Teensy 4.1 page and find a link to download the PDF.
If you're looking for more detailed documentation, this...
When talking of what can versus can not be done, it's important to keep in mind whether the limit is the hardware capability or only the artificial limits imposed by the MPU.
If you configure the MPU differently, the hardware can indeed execute...
The location depends on your operation system. On MacOS and Windows it's a hidden folder (as viewed from Finder or Explorer).
On any OS, to see the full pathnames of all libraries Arduino used, click File > Preferences (may be Arduino >...
If you just want to try Phazerville firmware on Teensy 4, all you need is a normal (not VOR) version of the Ornament and Crime boards... with Teensy 3.2 installed in a socket. (sadly, it seems many were built with Teensy 3.2 hard soldered). If...
This is the info I see in the datasheet on page 9.
And this on page 10.
If this doesn't clear everything up, can you give a link or screenshot to the documentation you're seeing about "GAX"? From the info I can see, GAX would mean a 1.75...
The audio library has RMS analysis. This is the official documentation (right side panel)
https://www.pjrc.com/teensy/gui/?info=AudioAnalyzeRMS
And here is a link to the source code...
Probably not. Profile posts seem like a pretty worthless feature relative to offering spammers a place to spew their junk. Apparently there's no way to completely shut them off, but quick searches turned up a few times the Xenforo people said...
Yes, U4 has changed twice. Teensy 4.1 made in 2020 and 2021 had TLV75733P. Due to chip shortages, we changed to NCV8186AMN330TAG in early 2022. The NCV8186 is easy to identify (using a magnifier), because it has 8 pins rather than 6. In...
Another completely blind guess... try adding a delay before you initialize the motion sensors.
Perhaps Teensy is booting up too quickly and those sensors aren't ready when you try to initialize them, but of course it all works fine with the...
Or you could try to discover what is wrong or missing. Maybe add Serial.print() within the receive code and compare results between Teensy and Mega?
But I can not do this for you. I don't have the real hardware. I've done everything I can...
I tried installing it. I'm seeing the "Copy to clipboard" button, but so far it doesn't seem to work. At least not in my browser. Not sure if I'm doing something wrong?
Indeed the timing is based on the original design from 2009 where Arduino just gets the files ready and causes the chip to go into bootloader mode, then Teensy Loader takes care of the rest. The only feedback mechanism was meant to be visual...
Since you're using Teensy 4.0, you would need to edit the HardwareSerial.h inside the "teensy4" folder.
When editing core library files, a good first step is to intentionally add any syntax error. Then click Verify in Arduino. If you see the...
Usually the first step, if you have just raw ADC samples, is to convert to signed integers. If you know the DC offset, you can just subtract it. If the DC offset isn't precisely known, you can find it by just taking the average of many samples...
With the mux registers, 5 means the pin is controlled by GPIO (digitalRead or digitalWrite).
To conclusively see which libraries are actually used, in Arduino click File > Preferences (it may be Arduino > Settings on MacOS) and turn on verbose...
Here is a copy of the test program which prints the pin 8 mux config.
void setup() {
Serial2.begin(9600);
}
void loop() {
Serial.println(IOMUXC_SW_MUX_CTL_PAD_GPIO_B1_00);
Serial2.print("Test");
delay(500);
}
When I run this, indeed it...
Teensy's core library defines names for those registers in terms of the pin numbers. So you could read CORE_PIN8_CONFIG. Or you could read IOMUXC_SW_MUX_CTL_PAD_GPIO_B1_00, which is the NXP native register name. You could discover the native...