[go: nahoru, domu]

Skip to content

An easy to use serial port tool. Windows, Linux, MacOS. 星瞳串口助手

License

Notifications You must be signed in to change notification settings

SingTown/SingTownSerialport

Repository files navigation

SingTownSerialport

An easy to use serial port tool. Windows, Linux, MacOS.

中文项目介绍以及软件下载: https://singtown.com/singtownserialport/

Software downloads: https://github.com/SingTown/SingTownSerialport/releases

snapshot

NOT suppport Windows XP.

Chart

If the software receives data in a specific format, you can display a line chart, just like the Arduino IDE.

Fromat: variable + '\r\n'

Arduino:

void setup() {
  Serial.begin(9600);
}
 
void loop() {
  Serial.println(1);
  delay(100)
}

MicroPython:

from pyb import UART
uart = UART(3, 9600)
 
void loop() {
  uart.write(str(1)+'\r\n')
}

Escape Char

Support Escape Char: \, \t, \r, \n, \b, \f

Build Setup

Environment

nodejs: https://nodejs.org/en/

for Windows:

npm install --global --production windows-build-tools

Build

# git clone
git clone https://github.com/SingTown/SingTownSerialport.git

# install dependencies
npm install

# rebuild serialport module
npm run rebuild


npm run dev

# build electron application for production
npm run build

# run unit & end-to-end tests
npm test

# lint all JS/Vue component files in `src/`
npm run lint