@mjs513 - Just tried using Windows to compile "DriveInfo.ino". This is with a Kingston 128G USB stick.
Fist time:
Waiting for Drive to initialize...
=== Task() Drive 0x200035e0 connected ===
>>...
Yes, you’re correct. Once a connection finishes closing, is aborted, or times out and is closed automatically, the connection is free to be used again. In lwIP lingo, these are called PCB’s. See also:...
To which circular buffer do you refer? Which library or source file?
If you run the iperf (v2) app on your computer, and the IPerfServer example on the Teensy, you'll likely see something exceeding 70 or 80Mbps over...
Hello friends,
I expected to be up in the clouds with the ultimate DIY VA synth, but instead of ascension I fell into the bottomless pit of bandlimited oscillators. Dissatisfied with the dull high-ends and aliasing...
From my original email to Paul:
Could you guys help me out? I will get it sent to PJRC if you are out of ideas.
https://drive.google.com/file/d/1PQAKS59tvtcgTyPdpVtSjnxV05DbNbP2/view?usp=share_link...
Oops apologies, I drew on yellow lines in power point in an attempt to make it more legible and decreased the legibility as a result. Here's the actual layout. The route for that specific pin goes right underneath the...
Yes, I should really tidy up the SCOPE macros, they're only intended for real-time debugging purposes...
The only other file that might be useful is the revised gui/index.html, as that allows you to place the new...
It does look like there is no response but this:
transfer->qtd.token = 64
does not make sense. CSW size should be 13 bytes if I remember correctly. not sure where the 64 bytes are coming from. I should be getting my...
Hi Shawn, sorry but have not checked that response specifically, however I do believe the issue was caused by the circular buffer being corrupted.
I have implemented my own very lightweight circular buffer and the...
U4 is the chip expected to get hot if the 3.3V power is shorted anywhere on the board.
Try measuring the 3.3V power. If you see 3.3V, then looking at chips other than U4 may be worthwhile. But if you get...
Figured out the problem and it's embarrassing: the serial monitor's auto scroll hides the bottom line for some reason. To view that one, you'll have to scroll down.
So, no weird input shenanigans, just me being...
The servers are physically located in Tampa, Florida, USA. Just to put the ping times in perspective.
Can anyone outside the US comment with the ping times? Many times I've wondered if we should use a CDN. Or...
with the write files test sketch I am seeing the following:
...
CSWResult: 0 CD:28
msProcessError()
65536 bytes (1027 ms to compute)
Files:
checkConnectedInitialized()msReadBlocks()
msDoCommand()
USBDrive...
This is awesome, it works fine to me. I'm using your dynamic audio core, with VScode and platformIO extension, it gives some warnings about redefinitions when compiling (but as I said, it works):
In file included from...
I did remove the TPD3S014 chip and could feel another chip getting hot afterward see picture
I have more teensy's laying around in this state so I could soon double check it.
Just trying to understand better and be clearer on my part:
Unless modified somewhere in the libraries, 8 is the maximum number of connections sustained at any given time, right? because in my application, when a...
After the hang and restart it does create a 0 byte file
Volume name:
Volume type: FAT32
Cluster Size: 32768 bytes
Volume size: 30771511296 bytes
Space used: 131072 bytes (459 ms to compute)
Files:
...
I received the UAM6 version (older usb3) and hooked it up and tried a few things.
1. Ran the USHost drive info sketch and that seemed to work. Here is what I mean:
Device Info:
connected: 1
...
Sorry, I am distracted as I am trying to debug some of my own not related code.
Count of devices really only impacts as you mentioned amount of memory. And maybe in few cases where it walk the list of objects.
Hi,
I'm using the Wire library on a Teensy 4.1 with several I2C sensors on a single bus, but the sampling rate is too slow for what I need.
I tried to divide the sensors over 3 separate busses, but the sampling...
Probably. It is probably with the DNS that I am using. I think I still have it hard coded at my connection to my provider as something like: 1.1.1.1
Or might have been googles: 8.8.8.8
Was earlier having problems...
The Transfer_t mytransfers __attribute__ ((aligned(32)));
What would be good size to have? In theory there might be joystick, mouse, keyboard, 3d mouse, midi device Loupedeck and/or stream deck connected at the...
I’ll add this note for future readers: the reason it’s only able to accept 8 connections is because the connections are never closed, and because the library is configured by default for up to 8 connections. If there...
Fun fact: the link status is polled approximately 8 times a second in QNEthernet.
I’ve used many Teensy 4.1s with networking programs and haven’t seen issues like this, so I’m fairly certain it’s not likely to be the...
FYI, from LA area:
MikesAir:~ michael$ ping forum.pjrc.com
PING forum.pjrc.com (66.232.106.106): 56 data bytes
64 bytes from 66.232.106.106: icmp_seq=0 ttl=54 time=75.204 ms
64 bytes from 66.232.106.106: icmp_seq=1...
Morning all, saw there was a reboot this morning :) Anyway I am seeing about 40-50ms depending on what I ping
C:\Users\Merli>ping forum.pjrc.com
Pinging forum.pjrc.com with 32 bytes of data:
Reply from...
Briefly reviving this thread to update.
I have obtained a crossover cable: the problem remains the same. So you were right, it probably has nothing to do with the auto MDIX
I have also tried with other computers:...
Times look the same to the new from here. Did a cache flush - maybe if not done there is a redirect lookup?
C:\T_Drive\Programs\iperf>ipconfig /flushdns
Successfully flushed the DNS Resolver Cache.
...
Is there a way (software or pin) to reset the Teensy 4 ?
I have 3 Teensy 4's in a system that are linked and need to start at approximately the same time.
When I program one at a time, after all are programmed, they...
C:\Users\kurte>ping pjrc.com
Pinging pjrc.com with 32 bytes of data:
Reply from 162.254.150.250: bytes=32 time=506ms TTL=42
...
C:\Users\kurte>ping forum.pjrc.com
Pinging forum.pjrc.com with 32 bytes of data:...
I connected also wireless 3D connexion and needed to at some more devices :)
But with this there is some problems, it randomly succeeds to connect often hangs or crashes and despite more ports added does not work...
This is more hypothetical question, but if two mice would be connected, how to tell from witch the data came from. When they are connected they could be given individual name but when HID messages come is there any way...
That is the normal way the HID parser code works.
However there is a hook that some of the client code, like the RAWHID and for example some cases the Keyboard and maybe some others use.
That is, when the message...
About receiving the HID messages, I get them now using hid_input_begin, hid_input_data and hid_input_end() That works and using the TopUsage and Usage the parsing will be fine, but is that the way to do it. I mean is...
Sorry, I was not doing much monitoring up here yesterday... Sort of off doing different things.
I have found with some of the Wireless Mice or keyboards, that yes, they can consume several objects.
For example,...
From the eSPI config file:
The ILI9486 RPi display must be of the Waveshare design and use a 16 bit serial interface based on the 74HC04, 74HC4040 and 2 x 74HC4094 logic chips
The OP pic shows them all in an L shaped...
I am wondering if this display has a display driver chip on it or if it might be something like the KeDei display we were playing with a few years ago.
Which was another RPI 3.5" display, but it did not do standard SPI...
(Maybe) ignore my comment on the LCD(A) wiki because:
3.5inch RPi LCD (A) and 3.5inch RPi LCD (B) (revision 1?) are hardware compatible with each other (use different drivers), and can be mutually substituted in most...
Ah, I understand the confusion! Sorry about that. Of course, you have no idea how I started this, the path I took, why or where I want to go.
You got it right, Teensy 4.1 is the server and some PCs are the clients,...
You're only changing the gain on channel 0 of mixer1 and mixer2 ... the playback object is connected to channel 2 of those mixers.
I'm not sure what you mean by "it works for AudioRecordWAVstereo"; the...
I decided to let Teensy manage RTS. That seems to have fixed the blocking problems and I'll just rearrange things to deal with it that way for now.
Stevo
Hi Clinker8,
I'm back from the trip away and spending some time porting some of my code across the Teensy4.1. I wondered if it is possible to get access to the actual interrupt handler attached to Serial1?
From...
Richard, I'm using your filter and it sounds amazing. It growls gracefully, my respect!
Have you ever looked into the following paper, written by
Stefan D'Angelo (Arturia's VA plugins & Neural DSP) and the...
I got both Stream deck and Logitech ERGO M575 working, the mouse just needed a lot of ports, I guess because it uses the Logitech wireless USB module. The connections/disconnection still needs work.
Actually...
There is this Wiki: github.com/TeensyUser/doc/wiki
Perhaps it could be home to such a collection. Not sure if any are covered, there is an 'Electronics' area - but didn't see such topics there now.
Hi Paul.
Thanks for the great work! We use your boards in various applications. It would be really nice if you could show how to use all 16 counter inputs in this project, you said so in the comments "// TODO: can 6...
I have 'fixed' the issue. I took out the statChange checks (which made it so it only prints once per button press), which means the counter goes up or down by thousands per press. This new value will be compared to the...
Then, if you look at the source
bool available() {
if (outputflag == true) {
outputflag = false;
return true;
}
return false;
}
This means that available() will only return true once as it is reset to...
Hi-
I am unable to get an output to the FFT in the example program "FFT Test" after making a small change.
The only addition to the program is adding a line in void loop, serial.print(myFFT.available()). Adding this...
Rather use https://www.waveshare.com/wiki/3.5inch_RPi_LCD_(B) (rev 1 not rev 2)
or use https://www.waveshare.com/3.2inch-RPi-LCD-B.htm if yours really is is 320x240 (ILI9341) and not 480x320 (probably ILI9486)
For...
I should have said, "nothing actually processes a connection" because the connections are technically accepted under the covers, it's just that your program does nothing with that information.
Well the 2 pairs of 13 pins tells me the board is likely designed for an original Raspberry Pi (later model Raspberry Pis now have 2 rows of 20 pins, but the first 13 pins are the same pinout as the previous pi models)....
I'm hosting another right now if anyone's interested. I'll be on for the next half hour or so, and longer if anyone joins.
Meeting link: https://meet.google.com/tsd-eapa-xnb
Kris,
Thank you! It's been a long time coming, and I want to do even more with it... Crank velocity measurement, vibration measurement... A lot of folks see it and don't know what to think, I appreciate your remarks....
Hi! I'm a novice programmer. I've butchered the Bounce2 > more > BounceTwo example to make it so that it only performs an action (count up or down and print result) with each button press.
It works okay if I alternate...
Hi everybody,
Currently working on a custom 4.1 board that is using the RT1062CVL5B due to difficulties acquiring the RT1062DVJ6B. I understand that this model is not at all tested with the bootloader, but it is my...
Can you post the sketch you are using that causes this error? We can only guess at what is causing the error. Right off the bat it looks like it is trying to access POSIX style file functions which Teensyduino does not...
Hi,
I'm trying to adjust the volume while playing a WAV using AudioPlayWAVstereo, but ain't working for me.
AudioPlayWAVstereo is routed to a mixer and the mixer to a I2S output. Volume set by a pot and float on...
Hi all,
I'm working on a networked audio project, and naturally I'm faced with issues of clock drift and jitter. To date I've been using a delay-locked loop approach (something akin to that described by Fons...
Edit: My problem was bad connexion all is ok now with my SD card. I have a problem with a bad audio quality with the micro but I will test other cable or soldering...
@Richard: What kind of LEDs or interface do you use? Would be cool so see this running in large.
Have you seen this one?
Code here if you'd like to hypnotize yourself. :-)
Thanks a lot, a lapsus made me think uncommenting also meant deleting the # symbol :s
It works fine, using it with a TDA1387 after changing the corresponding line on the .cpp file.
I'm having some confusion because on one hand, your test program doesn't accept client connections nor reads from any connected clients (because nothing is connected), but on the other, you describe "all connected...
I follow the "if you don't want an explanation, don't ask" policy... Sometimes people ask me something without knowing how deep that rabbit hole would go, because they just want a simple and shallow answer, which is not...
“If it ain’t broke, don’t fix it” has always struck me as good advice :D
You could try doing a “portable” Arduino install and using Teensyduino 1.58 beta to see if the official fix works for you: I think the above...
OK, just had time to check and the startup.c file at this location: "C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" has this "code change":
__attribute__((optimize("O2"))) // added 20230107 to...
It looks like a "#" character is missing.
The way to enable these things is with a preprocessor macro, so use "#define" preprocessor operator.
#define AUDIO_PT8211_OVERSAMPLING
#define...
When I activate Oversampling on output_pt8211_2.h and compile I get the following error:
'define' does not name a type define AUDIO_PT8211_OVERSAMPLING
All I did was uncommenting the lines:
define...
FWIW, there appears to be two examples in the SmartMatrix library that use FastLed with Smartmatrix (FastLed_Functions and FastLed_Panel_Plus_Apa102). They run on my display once I select the proper shield and display...