serial_port 0.3.1 copy "serial_port: ^0.3.1" to clipboard
serial_port: ^0.3.1 copied to clipboard

Dart 1 only

Dart extension library to communicate on serial port.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate serial_port

Use it

The package has the following executables:

$ serial_port

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add serial_port

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  serial_port: ^0.3.1

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:serial_port/serial_port.dart';
1
likes
15
pub points
71%
popularity

Publisher

unverified uploader

Dart extension library to communicate on serial port.

Repository (GitHub)
View/report issues

License

Apache-2.0 (LICENSE)

More

Packages that depend on serial_port