digital_scale 0.0.5+0 copy "digital_scale: ^0.0.5+0" to clipboard
digital_scale: ^0.0.5+0 copied to clipboard

outdated

This package was created to communicate with serial and digital scale in flutter

Project Owner GitHub stars GitHub forks

Digital Scale #

This package read a weight from digital scale by serial or usb 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(
      digitalScalePort: 'COM1',
      digitalScaleModel: 'toledo prix 3',
      digitalScaleRate: 9600
  );

  /// async return of weight
  digitalScale.getWeight().then((resp) => print('weight $resp'));
}

Digital Scales tested #

  • Toledo Prix 3 #

    • Configuration

      • Protocol Ptr1
  • Elgin DP-1502 #

    • Configuration

      • Data1 300030
      • Prog RS232 1130
  • URANO POP LIGHT #

    • Configuration

      • stopbits 2
9
likes
0
points
1
downloads

Publisher

verified publishersclemente.42web.io

Weekly Downloads

This package was created to communicate with serial and digital scale in flutter

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, flutter_libserialport, roundabnt

More

Packages that depend on digital_scale