digital_scale 0.0.1+1
digital_scale: ^0.0.1+1 copied to clipboard
Package to communicate with serial digital scale in flutter
Digital Scale #
This package read a weight from digital scale by serial port
Installation #
flutter pub add digital_scale
Import #
import 'package:digital_scale/digital_scale.dart';
Example #
void main() {
/// call Digital Scale and pass arguments
final digitalScale = DigitalScale('COM1', 'toledo prix 3');
/// async return of weight
digitalScale.getWeight().then((resp) => print('weight $resp'));
}