Sort of half fixed it.
The interrupts weren't working because I needed to add IntCAN.enableMBInterrupts(); to the init function and then call IntCAN.events(); during the while loop.
After doing that and switching to...
I have a project that needs to log all CAN-FD packets on a bus. It is working fine for low data rates (100Hz packets) but as soon as I turn the data rate up I get the overrun flag set and drop data.
The exact same...
On paper the WS28 series LEDs need 0.8 * VCC on the input pin for it to count as a high. Which means if you supply them with 5V you should drive the input to 4V to be sure of correct operation. That doesn't mean it will...
Going by this thread / reply the code was intended for Teensy 3.6 rather than 4.1 but can be used as a starting point. Links are in that thread. I've not found any links to ports for the 4.1 yet.
...
Are you using the PPS pin for anything?
Looking at the code the PPS pin is used to trigger an interrupt that then sets a variable (B.T.W., that variable should be marked as volatile) but the variable doesn't seem to...
TCP is already splitting the data into packets, acknowledging each one and handling re-transmissions for you. Unless you have a very unreliable network you shouldn't need to add anything extra at that level.
But you...
The WS2812 needs 1.25us per bit, 24 bits per LED, 800 LEDs = 1.25*24*800 = 24000 us = 24 ms.
Unless I'm missing something (it is friday afternoon after all) you should be able to get around 40 updates per second.
...
In linux you can use the command line teensy loader. https://www.pjrc.com/teensy/loader_cli.html
There are windows builds of this but I've not seen one that works without having to press the reset button, the -s option...
If using the internal pull up then you in effect have a voltage divider between R2 and the pullup, R2 needs to be significantly smaller than the internal pullup in order to avoid an undefined input state.
Internal...
If you have a pulse coming in at 2 MHz then that gives you ~300 cpu clocks per interrupt. Interrupt latencies are around a dozen clock cycles. I'd make the assumption that returning from the interrupt requires a similar...
Those errors are consistent with FlashTxx.c not being included in the project.
All the headers are getting pulled in correctly which is why it builds. But as long as they are in the right directories that will happen...
In 2.0 on windows it appears to put the files in C:\Users\\AppData\Local\Temp\arduino\sketches\ for me.
This is presumably <user account temp directory>\arduino\sketches\ so while for most people I'd expect it to be...
mwomack
As @joepasquariello indicated doing this over wifi or over wired ethernet is basically the same. Either way you need to create your own network connection. Just about all of the code here would work fine for...