1.由画师lihaoyun6的帮助下我们重置菜单图标,统一风格,并通过降低分辨率的形式来达到减少内存使用的目的,为未来更多功能的加入创造了可能性
2.修复英语模式中潜在的内存越界BUG
////////////////////////////////////////////////////
1. With the help of painter lihaoyun6, we recreate the menu icon, unify
the style, and reduce the memory usage by reducing the resolution, which
creates the possibility of adding more functions in the future
2. Fix
the potential memory overrun bug in English mode
1.移除二维码节省内存
2.增加可设置的欠压提醒,方便使用电池供电的用户
3.增加强制芯片过热提醒,芯片温度>80摄氏度时触发
4.在信息详细模式中报警时对应的图标闪烁
感谢由 甘草酸不酸 提供的建议
//////////////////////////////////////////////////
1. Remove QR code to save memory
2. Add a set of undervoltage reminder to facilitate battery powered
users
3. Add the forced chip overheat warning, trigger when chip temperature >
80 ℃
4. in the detailed information mode, the corresponding icon is flashing
when the alarm is given.
Thanks for the advice from 甘草酸不酸
Optimize multi language,
improve efficiency and save memory
The project uses 32056 bytes and takes up (99%) program storage space.
The maximum size is 32256 bytes.
The global variables use 1733 bytes (84%) of dynamic memory, leaving 315
bytes of local variables. The maximum size is 2048 bytes.
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)
(没有人比我更懂压缩)
同时此版本优化一些动画体验!
当然有一些缺点,当大家查阅代码的时候很容易发现来自于英文部分关于语言支持的代码写的很臃肿!?
我学识浅薄,我希望有人可以帮助我优化它!!!
1. Modify the scrolling direction to make the scrolling more coordinated
with the number size change
2. The main page also USES numerical scrolling in the simplified mode to
make the temperature change more vivid