init
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
node_modules
|
18
.vscode/launch.json
vendored
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
// 使用 IntelliSense 了解相关属性。
|
||||||
|
// 悬停以查看现有属性的描述。
|
||||||
|
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
|
||||||
|
"version": "0.2.0",
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
"type": "node",
|
||||||
|
"request": "launch",
|
||||||
|
"name": "Start",
|
||||||
|
"runtimeExecutable": "pnpm",
|
||||||
|
"runtimeArgs": ["start"],
|
||||||
|
"skipFiles": ["<node_internals>/**"],
|
||||||
|
"console": "integratedTerminal",
|
||||||
|
"internalConsoleOptions": "neverOpen"
|
||||||
|
},
|
||||||
|
]
|
||||||
|
}
|
12
config.js
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
export const config = {
|
||||||
|
port: "/dev/cu.usbserial-230",
|
||||||
|
baudRate: 9600,
|
||||||
|
dataBits: 8,
|
||||||
|
stopBits: 1,
|
||||||
|
parity: "none",
|
||||||
|
flowControl: false,
|
||||||
|
};
|
||||||
|
|
||||||
|
export const command = {
|
||||||
|
measure: '01 04 00 00 00 02 71 CB'
|
||||||
|
}
|
12
config.js.tmpl
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
export const config = {
|
||||||
|
port: "/dev/cu.usbserial-230",
|
||||||
|
baudRate: 9600,
|
||||||
|
dataBits: 8,
|
||||||
|
stopBits: 1,
|
||||||
|
parity: "none",
|
||||||
|
flowControl: false,
|
||||||
|
};
|
||||||
|
|
||||||
|
export const command = {
|
||||||
|
measure: '01 04 00 00 00 02 71 CB'
|
||||||
|
}
|
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 266 B |
After Width: | Height: | Size: 201 B |
After Width: | Height: | Size: 245 B |
After Width: | Height: | Size: 294 B |
After Width: | Height: | Size: 723 B |
After Width: | Height: | Size: 796 B |
After Width: | Height: | Size: 660 B |
After Width: | Height: | Size: 773 B |
After Width: | Height: | Size: 510 B |
After Width: | Height: | Size: 703 B |
After Width: | Height: | Size: 785 B |
After Width: | Height: | Size: 513 B |
After Width: | Height: | Size: 673 B |
After Width: | Height: | Size: 763 B |
After Width: | Height: | Size: 496 B |
After Width: | Height: | Size: 675 B |
After Width: | Height: | Size: 776 B |
After Width: | Height: | Size: 766 B |
After Width: | Height: | Size: 75 KiB |
After Width: | Height: | Size: 776 B |
After Width: | Height: | Size: 681 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 710 B |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 755 B |
After Width: | Height: | Size: 671 B |
After Width: | Height: | Size: 715 B |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 696 B |
After Width: | Height: | Size: 708 B |
After Width: | Height: | Size: 687 B |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 759 B |
After Width: | Height: | Size: 792 B |
After Width: | Height: | Size: 785 B |
After Width: | Height: | Size: 805 B |
After Width: | Height: | Size: 760 B |
After Width: | Height: | Size: 765 B |
After Width: | Height: | Size: 721 B |
After Width: | Height: | Size: 804 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 742 B |
After Width: | Height: | Size: 696 B |
After Width: | Height: | Size: 773 B |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 1001 B |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 768 B |
After Width: | Height: | Size: 774 B |
After Width: | Height: | Size: 757 B |
After Width: | Height: | Size: 788 B |
After Width: | Height: | Size: 746 B |
After Width: | Height: | Size: 779 B |
After Width: | Height: | Size: 771 B |
After Width: | Height: | Size: 775 B |
After Width: | Height: | Size: 767 B |
After Width: | Height: | Size: 760 B |
After Width: | Height: | Size: 785 B |
After Width: | Height: | Size: 786 B |
After Width: | Height: | Size: 511 B |
After Width: | Height: | Size: 673 B |
After Width: | Height: | Size: 773 B |
After Width: | Height: | Size: 675 B |
After Width: | Height: | Size: 671 B |
After Width: | Height: | Size: 803 B |
After Width: | Height: | Size: 512 B |
After Width: | Height: | Size: 752 B |
After Width: | Height: | Size: 787 B |
After Width: | Height: | Size: 506 B |
After Width: | Height: | Size: 668 B |
After Width: | Height: | Size: 783 B |
After Width: | Height: | Size: 682 B |
After Width: | Height: | Size: 753 B |
After Width: | Height: | Size: 786 B |
After Width: | Height: | Size: 775 B |
After Width: | Height: | Size: 777 B |
After Width: | Height: | Size: 795 B |
After Width: | Height: | Size: 775 B |
After Width: | Height: | Size: 777 B |
After Width: | Height: | Size: 757 B |
After Width: | Height: | Size: 756 B |
After Width: | Height: | Size: 773 B |
After Width: | Height: | Size: 758 B |
After Width: | Height: | Size: 514 B |
After Width: | Height: | Size: 508 B |
After Width: | Height: | Size: 511 B |
After Width: | Height: | Size: 514 B |
After Width: | Height: | Size: 502 B |
After Width: | Height: | Size: 506 B |
After Width: | Height: | Size: 1017 B |