Translated>
Hello everyone,
I performed several tests, all unsatisfactory. The only thing that keeps the map from crashing is my condition in the function that calls it: if(position!=oldposition){load buffer}else{do nothing}. It has been working...
@h4yn0nnym0u5e
Hello,
I tested extensively with the SPI bus, and I also have an I2C bus. I wanted to make sure they didn't interfere with each other.
The latest compilation gives:
Memory Usage on Teensy 4.0:
FLASH: code:97712, data:151052...
Bonjour à tous,
J'ai effectué plusieurs tests, tous insatisfaisants. Le seul qui empêche la carte de planter est ma condition dans la fonction qui l'appelle : if(position!=oldposition){charger le tampon}else{ne rien faire}. Cela fonctionne sans...
@ange
Yes, of course, in the ILI9341-t3n library there is no zone buffer, so I tried to do it myself. In my program, I have two doubles, the other one has been working fine since the beginning. Adding a flag to display the buffer if I have a...
@KurtE
I did not change the SPI speed.
SPI Clock (écriture) par défaut = 30000000
Horloge SPI (cours) par défaut = 2000000
@Paul
The screen is soldered onto an intermediate PCB and the Teensy 4.0 is on the other side of the same intermediate...
Hello everyone,
I don't know if this is the right solution technically speaking, but I added an if condition that encompasses my for loops for display. It works, but it may not be clean. In any case, it no longer crashes the map.
Hello, @KurtE,
Yes, I check if I have any points outside the buffer. I don't have any.
I use very few resources in this function, and there is normally enough space available.
I made the change, but I'm still getting random crashes (sometimes...
In my program, I created a double buffer for a given area.
This buffer displays colored lines based on the position of an MPU6050 sensor, but every time, sooner or later, it crashes the board.
I've been trying to figure out why for two weeks...