billhsu / jUART

Cross platform browser plugin for serial port communication from JavaScript
202 stars 76 forks source link

reading the serial data return #12

Closed ctecPHP closed 9 years ago

ctecPHP commented 9 years ago

Hello there send the metod for the serial, but could not find a method of reading. Is there? If there is no way I could develop, could give me a help to create this method? Thank you =)

billhsu commented 9 years ago

recv

On Wed, Nov 26, 2014 at 6:57 PM, ctecPHP notifications@github.com wrote:

Hello there send the metod for the serial, but could not find a method of reading. Is there? If there is no way I could develop, could give me a help to create this method? Thank you =)

Reply to this email directly or view it on GitHub https://github.com/billhsu/jUART/issues/12.

ctecPHP commented 9 years ago

I will test when I get home, I'm riding a project with Arduino, we send one serial port and the card returns a reading value of environmental temperature. Need to display the return value. I can do this using the recv?

billhsu commented 9 years ago

Sure. recv is the callback function for reading data from serial port.

On Wed, Nov 26, 2014 at 7:20 PM, ctecPHP notifications@github.com wrote:

I will test when I get home, I'm riding a project with Arduino, we send one serial port and the card returns a reading value of environmental temperature. Need to display the return value. I can do this using the recv?

Reply to this email directly or view it on GitHub https://github.com/billhsu/jUART/issues/12#issuecomment-64558974.

ctecPHP commented 9 years ago

Thank you for your answer: D

billhsu commented 9 years ago

BTW, how's the space issue(#11)? I don't really got time to look into it recently.. Please close the issue if recompiling the code works.