rocketscream / TinyReflowController

An all-in-one Arduino compatible reflow controller powered by ATtiny1634R
121 stars 64 forks source link

Crashes with updated libraries (Clarify required library versions in docs) #15

Open z-l-p opened 2 years ago

z-l-p commented 2 years ago

I just spent hours trying to compile the V2 code in 2021 (Arduino IDE 1.8.9). Much has changed since 2019, and compiling with current library versions will result in a crashed Arduino (no display at startup, etc). Most open issues seem to be traceable to this. My solution was to look back through the releases of all required libraries to find the ones that were contemporary in March 2019 when the initial commit was made. I had success with the versions below. (Others might work too, but I got tired of trying.)

NOTE: The Arduino IDE library manager doesn't seem to roll back to previous versions gracefully. It's best to delete the folders for any existing versions before using the library manager to download the old versions.

Maybe lib version requirements could be added to the README or the code comments?

clytle374 commented 5 months ago

I've been playing with this code(forking it) and I believe the 328P is running out of memory crashing the display memory allocation. Removing some code left me with a glitching lower right corner of the display. Moving to a atmega644 fixed it. I can't be sure of all issues as I'm using a different thermocouple chip.