Hi @Turby, I see you use my Nextion library. Some time ago I updated it to version 2, called Nextion2. I am currently working on a version 3. The latest does not include many updates, just sorts out some potential problems.
Edit: I should have...
The Teensy has TWO clocks. The Teensy clock and the RTC clock.
These need to be synched.
In your setup put setSyncProvider(getTeensy3Time); I believe that this links the two clocks together.
To get the time when running use
time_t...
The support will develop. There are some talented groups starting to develop real products. Places like CERN, The European Laboratory for Particle Physics where the World Wide Web (WWW) was invented in 1989.
I worked at CERN on ATLAS experiment...
Change
// initialize USB serial port
Serial.begin(115200);
a = micros();
while(!Serial) {
if ((micros() - a) > USBTimeout) {
break;
}
}
to
// initialize USB serial port...
Here is a YouTube video showing the changes made to the TI part, highlighting potential problems using this part.
Just as a snippet, the slew rate has almost HALVED!
Given that this may be detrimental to the life the Teensy I would recommend that it is NOT part of a library ( that would make it too easy to apply ) but a method on how to achieve it should be CLEARLY documented.
i.e. make it available but not...
When posting code, can you do it between code tags using the </> button.
It makes your code so much more readable and therefore more likely to get a responce.
I have posted your code below so you can see the improvement.
#include <Arduino.h>...
Server has a new SSD installed. No software, just a clean Linux install.
So far the only service I've restored is DNS, so browsers can resolve forum.pjrc.com to an IP number to access this forum.
I'm uploading the backup files now, about 75GB...
Do you have anough space, power, and heat dissipation ability to consider using a Peltier device to cool a Teensy mounted in an insulated sub-enclosure? (300x92mm is a fair bit of space, but only 2-dimensional, which could be an issue :ROFLMAO...
I am being the messenger here as the user doesn't spend much time on the forum. It appears that the changes fixed some units that previously demonstrated the issue, but on others it allowed them to get further along in the process but then still...
@Paul You have the wrong address here "Arduino 1.8.x, Windows: https://www.pjrc.com/teensy/td_160-beta1/TeensyduinoInstall.exe" should be "Arduino 1.8.x, Windows: https://www.pjrc.com/teensy/td_161-beta1/TeensyduinoInstall.exe"
I might be wrong, but one advantage I see of using Serial between the Teensys is that you just do a Serial.print.... and it's all buffered and your code can go and get on with other things.
USB isn't anything like serial, where both sides are essentially the same type of hardware. With different connector serial types you basically just have to worry about connecting TX to RX and vice versa. USB doesn't work anything like that...