Skip to content

jamiebalfour04/zpe.lib.serial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zpe.lib.serial

This is the official Serial Port plugin for ZPE.

This library was among the first I developed for ZPE, but it fell into disrepair.

A serial port

The plugin provides support for listing, opening and writing to serial ports.

Installation

Place zpe.lib.serial.jar in your ZPE native-plugins folder and restart ZPE.

You can also download with the ZULE Package Manager by using:

zpe --zule install zpe.lib.serial.jar

Documentation

Full documentation, examples and API reference are available here:

View the complete documentation

Example

import "zpe.lib.serial"

ports = list_serial_ports()

for (p in ports)
    print(p->get_name())
end for

port = ports[0]
port->open()
port->write()

Notes

  • Uses jSerialComm internally.
  • Requires permission level 3 for port operations.

About

The official ZPE plugin for serial communications.

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages