skio_uart 0.1.0-beta.1
skio_uart: ^0.1.0-beta.1 copied to clipboard
Serial ports by path for Flutter and Dart: UART, RS-232 and RS-485 on Android panels (/dev/ttyS*), Linux, Jetson, Windows (COM3) and macOS. Pure Dart FFI, nothing native to build.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add skio_uartWith Flutter:
$ flutter pub add skio_uartThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
skio_uart: ^0.1.0-beta.1Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:skio_uart/skio_uart.dart';