PaulStoffregen,
I really didn't understand all the minutiae of what installs, uninstalls, etc. But, I assume none of it is a work around for this problem with Teensy 3.x, Correct?
I'm trying to use LED strips with the OctoWS2811 adapter, a Teensy 4.1, and 16 LED strips (each with 30 LEDs) to display a video file streamed from a PC. I've connected the Ethernet cable to the LED strip. To prepare the data cables, I cut an...
I would like to share how my backlight is hooked up. I use a PC817 optocoupler to control the backlight. I was just using digitalWrite pin HIGH LOW to turn the backlight on and off via a 390R resistor to the optocoupler. But then I discovered by...
Here's the latest code, not yet supporting SPI transactions (which will add some overhead). It's renamed, so development can be done without conflicting with an install of Adafruit's version.
https://github.com/PaulStoffregen/Optimized_ILI9341...
In Teensyduino 1.20-rc2, I reverted Adafruit_ILI9341 back to Adafruit's version, with SPI transactions added.
1.20-rc1 had a highly optimized ILI9341 library, from KurtE, based on earlier work I'd done on optimizing ST7735, which was based on...
No idea what JUCE is, or what you want to communicate, but I googled "juce teensy" and found a couple of links
https://forum.pjrc.com/index.php?threads/juce-teensy-communication.55617/
https://github.com/cutlasses/TeensyJuce
No idea what JUCE is, or what you want to communicate, but I googled "juce teensy" and found a couple of links
https://forum.pjrc.com/index.php?threads/juce-teensy-communication.55617/
https://github.com/cutlasses/TeensyJuce
You may think your PC program is only sending one frame every 50mSec, but are they actually arriving at the Teensy 50mSec apart? A 42-KB frame can be sent to the T4.1 in about 3milliSeconds if the PC really wants to pack the bytes into...
Hi there,
I am working on a project where I need to communicate between JUCE and Teensy 4.0, what library can we use? And any sample code to get this up and running?
I have tried using the juce_serialport Library and it was not supported by the...
Hi, super new here. I'm making a recording device for a school project with a Teensy 4.1 + Audio Module Rev D and I have a few questions:
First, do I need to use the Line In pins on the Audio Module and use an additional jack like a 3.5mm trrs...
To be clear: show() doesn’t wait for the whole frame to finish. It simply ensures the DMA stuff has what it needs. It will pause, however, until the previous frame has finished, if it’s called before the frame is done. You can check this with a...
At the moment, I'm only transmitting data at around 20fps, meaning each frame has 50ms, so should be well within the display time if the update is 9ms for show(), however it still crashes every 20 mins or so. In terms of the 9msec limit - I've...
I've had a look, and can't immediately see what the problem is.
I'm always a bit nervous when there's lots of duplicate code and strings, and more so when the duplicates aren't quite so - like your SD directory being CLKSNDS but LittleFS uses...
I would like to share how my backlight is hooked up. I use a PC817 optocoupler to control the backlight. I was just using digitalWrite pin HIGH LOW to turn the backlight on and off via a 390R resistor to the optocoupler. But then I discovered by...
h4yn0nnym0u5e:
Actually this is remarkably similar to mine in the way it works, first initialize the SD card, then initialize the LittleFS Ram (in my case LittleFSFlash), then copy the file from the SD to the LittleFS file. In my case there are...
I'll take a look.
In the mean time, here's a sketch I adapted to use SD+LittleFS rather than two SD cards. I haven't got a QSPI flash so it uses a LittleFS RAM disc and copies an audio file to it from the SD card during setup(). Assuming the...
In my case, I use IDE 1.8.19 because it is the version that does not give me errors with sketches that have many tabs. The IDE 2.x has given me a lot of headaches. In case of tracking down an error in the code it is easier, the excesses of help...
In my case, I use IDE 1.8.19 because it is the version that does not give me errors with sketches that have many tabs. The IDE 2.x has given me a lot of headaches. In case of tracking down an error in the code it is easier, the excesses of help...
Just for example on my Mac:
Xcode.app uses: 23.41GB
Wireshark uses: 232.1 MB
WhatsApp uses: 328 MB
VMware Fusion uses: 1.26GB
Visual Studio Code.app uses: 567.5MB
Visual Studio.app: uses: 1.63GB
No Platform IO is not very big compared to a...
That's interesting, you are writing value 1000 to AOx but you are reading back value 2000 from AOx.
You may want to try the other use of the modbusTCPClient.holdingRegisterWrite() command.
Instead of boolean writeSuccess =...
How about this compressed file of just the Main.cpp, I am sure you can figure out the rest.
About the IDE, I also have used many different IDE systems over the past 5 decades, and you are correct many of them had steep learning curves. I have...
I can understand and sympathise with your opinion, but it remains the fact that a lot of users use nothing but the Arduino IDE, and on this forum it is the canonical way of supplying a concise example of code that reproduces an issue. Often the...
OK,, since the OP specified 300 LEDs, it seems that each update is going to take about 9 milliseconds. Since the show() function starts with
while (update_in_progress) ;
If you have multiple frames of data, after the first call, each...
Start with one. The DRV8833 datasheets how to use it in fast-decay and slow-decay modes.
There are encoder libraries for standard quadrature AB and ABZ encoders.
The gumstick-sized Teensy 4.0 made this project possible! Fender's iconic Stratocaster's control cavity was routed to accommodate a few analog pots and a dual-pole 5-position blade switch but I've crammed the Teensy, a stereo codec, two RGB LED...
In WS2811-and-Octo-land, the strip is likely to operate at 800kHz, 1.25us per bit. There are 24 bits per pixel and maybe 300us between frames. This means that for N pixels in the longest strip, each frame is about N*24*1.25 + 300 microseconds...
@h4yn0nnym0u5e:
I created a bare bones project to try using your Audio system to play from QSPI Flash Memory using LittleFS, and it does not work. My code tells me that it is playing, but nothing is coming out of the audio system which is...
Hi!
I'm a beginner with Teensy audio, and I want to design an inverse notch filter to amplify resonances over white/pink noise, similar to the one in the screenshot below.
So far, I have tried using the filter object from the Audio Design...
I'm not familiar with the Octo-Leds, but I have done a lot of high-speed comms between PC and Teensy. In one of your earlier posts you noted that the problems disappeared if you commented out leds.show(). For me, that immediately raised the...
Unfortunately I don't know enough about anything code related to say but I think an ethercat slave device will probably never work in software. I didn't really know the details when I posted this but I just started working on a PCB design using...
Thanks, Joe. Problem solved. It was a dumb logical error on my part. In fact when I correct this, and assign both conversion results to e.g. value1, I can increase the sampling rate to 1MHz with no errors.
Was wondering if anyone had any thoughts on the above? I've managed to improve the situation a bit in terms of only calling led.show() after a third of the LEDs have been updated, but it still hangs roughly every hour. I can also provide a Python...
Quick update: I managed to run it on Teensy 3.0 using IDE 1.8.15 with Serial USB Type. I copied the read_cmd & write_cmd function into wiring.h file and create the request & requestType cases on usb_dev.c file on cores/teensy3 folder.
Now I...
The gumstick-sized Teensy 4.0 made this project possible! Fender's iconic Stratocaster's control cavity was routed to accommodate a few analog pots and a dual-pole 5-position blade switch but I've crammed the Teensy, a stereo codec, two RGB LED...
Hello again,
I'm encountering an issue with another device from the same series. This particular device features analog input and output, each with four channels. The analog output is of the Read/Write type, operating with a function code of 03...
Yes, I was given an old copy of the whole Arduino 1.0.5 folder & Teensy 3.0 device and was given a task to make it work on Teensy 4.0. Don't worry, backup is safe on cloud and I also only made changes on files in Arduino 1.8.15 folder which I...
There may be other issues, but your spi_Write function is calling SPI.transfer(data_byte), which sends one byte, but data_byte is type uint16_t, which is two bytes. You at least need to send both bytes of the data value. You might want to rename...
Hi,
I was just typing what @joepasquariello said..
A couple of other points you might want to look at:
- have you got the right SPI_MODE? The data sheet says it clocks the data on falling edge (SPI_MODE 1 or SPI_MODE2?)
- in loop you're...
I'm using the adc .h library in an application requiring high speed 12 bit a/d conversion by interleaving the two A/Ds on a T4 or T4.1 running at 600MHz. The interrupt service is called every 2 microseconds by the timer in the Timer.lib. The bug...