This commit is contained in:
createskyblue
2020-11-15 14:58:17 +08:00
parent 50408ba36b
commit d2ab2dbe44
15 changed files with 1671 additions and 1733 deletions

View File

@@ -1,6 +0,0 @@
{
"board": "arduino:avr:uno",
"programmer": "Arduino as ISP",
"port": "COM3",
"sketch": "1.8t6.ino"
}

View File

@@ -1,25 +0,0 @@
{
"configurations": [
{
"name": "Win32",
"includePath": [
"D:/Program Files (x86)/Arduino/libraries",
"D:/Program Files (x86)/Arduino/hardware/arduino/avr/**",
"D:/Program Files (x86)/Arduino/hardware/tools/avr/avr/include",
"D:/Program Files (x86)/Arduino/hardware/tools/avr/lib/gcc/avr/7.3.0/include",
"D:/Program Files (x86)/Arduino/hardware/tools/avr/lib/gcc/avr/7.3.0/include-fixed",
"D:/Program Files (x86)/Arduino/tools/**",
"D:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\**",
"D:\\Program Files (x86)\\Arduino\\tools\\**"
],
"forcedInclude": [
"D:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino\\Arduino.h"
],
"intelliSenseMode": "msvc-x64",
"compilerPath": "D:\\mingw64\\bin\\gcc.exe",
"cStandard": "gnu17",
"cppStandard": "gnu++14"
}
],
"version": 4
}

View File

@@ -1,29 +0,0 @@
{
// 使用 IntelliSense 了解相关属性。
// 悬停以查看现有属性的描述。
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "g++.exe - 生成和调试活动文件",
"type": "cppdbg",
"request": "launch",
"program": "${fileDirname}\\${fileBasenameNoExtension}.exe",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"miDebuggerPath": "D:\\mingw64\\bin\\gdb.exe",
"setupCommands": [
{
"description": "为 gdb 启用整齐打印",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
"preLaunchTask": "C/C++: g++.exe build active file"
}
]
}

View File

@@ -1,27 +0,0 @@
{
"tasks": [
{
"type": "cppbuild",
"label": "C/C++: g++.exe build active file",
"command": "D:\\mingw64\\bin\\g++.exe",
"args": [
"-g",
"${file}",
"-o",
"${fileDirname}\\${fileBasenameNoExtension}.exe"
],
"options": {
"cwd": "D:\\mingw64\\bin"
},
"problemMatcher": [
"$gcc"
],
"group": {
"kind": "build",
"isDefault": true
},
"detail": "Generated task by Debugger"
}
],
"version": "2.0.0"
}

View File

@@ -153,7 +153,7 @@ Arduboy2 arduboy;
#define TIME2SETTLE 950 // time in microseconds to allow OpAmp output to settle
#define SMOOTHIE 0.05 // OpAmp output smooth factor (1=no smoothing; 0.05 default)
#define PID_ENABLE true // enable PID control
#define BEEP_ENABLE false // enable/disable buzzer
#define BEEP_ENABLE true // enable/disable buzzer
#define MAINSCREEN 1 // type of main screen (0: big numbers; 1: more infos)
// EEPROM identifier
@@ -253,7 +253,7 @@ PID ctrl(&Input, &Output, &Setpoint, aggKp, aggKi, aggKd, REVERSE);
1 - 英文 ENGLISH
2 - 日语 x (此版本不支持)
*/
byte LANG = 0;
byte LANG = 1;

View File

@@ -25,8 +25,7 @@ void MainScreen() {
//arduboy.drawSlowXYBitmap(0, 0, Tag, 16, 16, 0);
arduboy.setCursor(2, 4); arduboy.print(TipName);
//显示状态
arduboy.setCursor(53, 1);
arduboy.setTextSize(2);
arduboy.setCursor(94, 5);
switch (LANG) {
case 0: arduboy.drawSlowXYBitmap(95, 1, S_table[SysState], 28, 14, 0); break; //中文 Chinese
default: //英文 English
@@ -560,7 +559,7 @@ void CalibrationScreen() {
for (byte y = 0; y < 5; y++) {
for (byte x = 0; x < 2; x++) {
if (2 * y + x > CalStep) break;
arduboy.setCursor(x * 64 + 10, y * 8 + 16);
arduboy.setCursor(x * 64 + 4, y * 8 + 16);
arduboy.print(CalTemp[2 * y + x]);
arduboy.print((char)248);
arduboy.print(F("- "));

Binary file not shown.

After

Width:  |  Height:  |  Size: 309 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 321 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 292 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 266 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 258 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 209 KiB