mirror of
https://github.com/wagiminator/ATmega-Soldering-Station.git
synced 2025-08-08 13:00:59 +03:00
Once in order to add cool graphical interface, Chinese and even animation to make memory tight, it is not necessary to delete part of the English support. But after thrilling optimization (the project uses 32234 bytes and takes up (99%) program storage space. Up to 32256 bytes) 95% of English support is back (5% due to the removal of the message screen function) It's more difficult to scan the x648 code (nobody knows compression better than I do) At the same time, this version optimizes some animation experience! Of course, there are some shortcomings. When you look at the code, it is easy to find that the code from the English part about language support is very bloated I am shallow in knowledge, I hope someone can help me optimize it!!! 曾经为了加入炫酷的图形化界面、中文甚至动画使内存紧张不得以删除部分英文支持。 不过经过惊险的优化 (项目使用了 32234 字节,占用了 (99%) 程序存储空间。最大为 32256 字节) 95%的英文支持回来了 (5%是由于 MessageScreen函数被移除) 代价是二维码变得更难扫描(64x64 --> 48x48) (没有人比我更懂压缩) 同时此版本优化一些动画体验! 当然有一些缺点,当大家查阅代码的时候很容易发现来自于英文部分关于语言支持的代码写的很臃肿!? 我学识浅薄,我希望有人可以帮助我优化它!!!
avrdude -c usbtiny -p m328p -V -U lfuse:w:0xff:m -U hfuse:w:0xdb:m -U efuse:w:0xfd:m avrdude -c usbtiny -p m328p -U flash:w:<name>.hex re2: rotary encoder with 2 increments/step re4: rotary encoder with 4 increments/step