The easiest way, if you're using the Arduino IDE, is to change the LWIP_NUM_TCP_PCB value in the lwipopts.h file.
For PlatformIO users, and for those Arduino IDE users that know how to change command-line flags, you can also set this macro value...
TTL is simply in the product name, but is not relevant to the question. @Rezo is correct in his reference to one example product. Looking for good existing libraries that might embed a FlexIO implementation under a common graphics library, or a...
I 'm trouble-shooting an issue with writing to SD using SdFat, and I noticed the code below in SdioCard::begin(SdioConfig sdioConfig). A signed int is used, which I think can cause CARD_ERROR_ACMD41 to be incorrectly returned, depending on the...
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"...
Hi everyone!
I am creating a custom PCB and incorporating a significant chunk of the Teensy 4.1 layout. I came across some beta stage routing diagrams for all the layers at some point, but am unable to find the page again. Can anyone paste a...
Just installed on win 11 home edition with 2.2.2-nightly-20231021, path for package: https://www.pjrc.com/teensy/package_teensy_index.json. Installation went smoothly and quickly.
Tool teensy:teensy-compile@11.3.1 already installed
Tool...
Here is a fourth beta test for Teensyduino 1.59.
Arduino 2.0.x, all systems platforms:
use Boards Manager to install Teensy version 0.59.4
(to refresh versions, Shift-Ctrl-P and click "Arduino: Update Package Index")
Arduino 1.8.x, Linux 32...
yes thats what im using, connected to the JST socket and teensy 3v for its power
the samples im using in the sketch, and some build images are here:
https://www.dropbox.com/scl/fo/jwpgmfc1oixp94589pzdw/h?rlkey=hbdkrdd6wt8n1l64de2l8yko1&dl=0
Hello all,
I am using "QNEthernet" for the Teensy 4.1 and have a web server running on it with Ajax and JS.
Now there seems to be a maximum of 8 sockets set, in which header file can you adjust this and what would be the maximum fetch bare...
Hello Luis.
I’m currently using 11 outputs on a board I made for 14 outputs.. I’m not sure if I chose that number because of a hardware limit but I’m pretty sure 14 will work. I only use 300 leds per strip however for what it’s worth I just...
For the PCB, Adafruit Product ID 3954, and the Silicone elastomer 4x4 button keypad Product ID 1611. A couple of strategically placed elastic bands can be used to to strap the two parts together for experimentation.
If you want to play with 8x8...
Since it's relevant, I wanted to reference the post I just made in another thread about Teensy4.1,OctoWS28,Artnet+FastLED using the above-mentioned libraries and blog posts... I'm hoping my consolidated repo helps a few people here :)
The...
Using Teensy 4.1, OctoWS28 and the Ethernet connector, I could do 24 universes at a good quality. I throttled the Art-net server and FastLED Teensy node down to 30fps, which worked well for my project.
There seems to be a bunch of discussions...
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...
The Arduino docs for the map function say it is implemented like this:
long map(long x, long in_min, long in_max, long out_min, long out_max) {
return (x - in_min) * (out_max - out_min) / (in_max - in_min) + out_min;
}
You could define your...
The Neotrellis library code is blocking and depending on what you may be trying to do, painfully slow and is probably the culprit messing up audio.
My Midi controller project has an ILI9341 screen, 18 encoders and two hardware buttons wired to a...
https://www.adafruit.com/product/5792
I think he is referring to this..
You can emulate and RGB dot-clk interface using FlexIO shifters and timers - but I have never done it myself - I’ve only emulated 8080 on FlexIO for display purposes
Thank you for your reply! That is very helpful.
is this correct? or is there a better way to do it? it seems to work.
int lfoAmount = analogRead(potAmplitudePin);
float lfoAmplitudeMapped = map(lfoAmount, 0, 1023, 0, 100)...
At its simplest clone the relevant repository to a local repo of yours, create your change branch, create a pull-request, and start a thread about it...
You may not be able to achieve a 5-MHz interrupt rate, and if you do, you'll have little or no time for other I/O or calculations. I think you need to look for a different approach.
float lfoAmplitudeMapped = map(lfoAmount, 0, 1023, 0, 1);
The map function only uses integers and returns an integer so the only possible values that this can return are zero or one.
Similarly, in this one
float lfoSpeedMapped = map(lfoSpeed...
pixels.show(); Sends data to 2 WS2812 LEDs above my footswitches
trellis.pixels.show(); Sends data to the neotrellis board
I appreciate any suggestions Paul, although i have already tried removing all the neopixel code from the sketch
Oh and for reference, the unison 1-4 voices aren't connected and are for a future feature that I want to add. What I want, is to be able to push a button, and have it switch between poly mode (default), and a unison mode with detune.
Hello! I have been working on a synthesizer with the Teensy Audio Library on a Teensy 4.1. It is working pretty well so far, but there are a few issues that I can't seem to resolve on my own.
Issues-
Potentiometer readings - So I have two pots...
On every interrupt call I want to transfer binary data (bit by bit)to a gpio pin. Let's say 1011, it means
Pin high for 200ns
Pin low for 200ns
Pin high for 200ns
Pin high for 200ns
Why use interrupts? Because I have to perform some calculations...