Code Monkey home page Code Monkey logo

serialport's People

Contributors

lepiaf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

serialport's Issues

How to read HEX input

I have use this code to read from arduino device, and its doing great job.
But I have problem to read HEX input.

[Need Help] DeviceNotFound

The error exception says that the device is not found

(device path does not exist)
SerialPort.php line 63

1

Though I should have all the correct configuration because I only have one serial port connected
3

NB:
Serial works well when testing through powershell

2

Provide documentation

Can you provide some documentation for the Class apis and about all the options in TTYConfigure?

I'm especially interested in disabling dtr (causes Arduino to reset on port open when enabled), and using multiple characters for the seperators.

I think the flag is hupcl.

Memory usage after execute

Hey hey.

Thanks for this useful source.

Just tried it and realised the memory usage of the app will go extremely high after 3-4 minutes.

Looked up the source and found the issue.

You are creating an array named $chars and storing recieved data in it.

The problem is, even when there are no data, the array is filling will NULL and it increases its size.

Just converted it to a regular string and the problem is solved ;-)

Namespace error

In the example change
use lepiaf\SerialPort\TTYConfigure;
to
use lepiaf\SerialPort\Configure\TTYConfigure;

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.