lanio_la5r_controller

Last updated:

0 purchases

lanio_la5r_controller Image
lanio_la5r_controller Images
Add to Cart

Description:

lanio la5r controller

lanio-la5r #
Controller for LA-5T2S.
Future<void> main() async {
// Set your own device's IP
final lanio = Lanio(address: '192.168.10.91', port: 10003);

// Show device info.
final info = await lanio.deviceInfo;
print(info);

// Set DO1,DO2
await lanio.setPins([true, true]);

// Show pin states
final pins = await lanio.pins;
print('DO1: ${pins[0]}');
print('DO2: ${pins[1]}');
print('DO3: ${pins[2]}');
print('DO4: ${pins[3]}');
print('DO5: ${pins[4]}');
}
copied to clipboard

API Reference
pub.dev
GitHub

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.