Jump to content

Serial port data sending


YureZzZ
 Share

1 post in this topic

Recommended Posts

I'm hackintosh user and I'm going to modd my laptop with glowing apple logo. Also I want to add a feature that it will be blinking when anything happens, i.e. new mail arrived. Hardware part is easy for me. Now I have device connected to usb which acts ac virtual comport.

 

Here is how it will work. I'll have few scripts (.sh or whatever) which sends some numbers to device through serial port. Device reads it and does blinking and other stuff with leds. Then I need to tie these scripts to events like new mail - this part is unclear for me, just don't know how to do that.

 

I succesfully sent some data to it using 'sudo screen /dev/tty.usbserial 9600'. But I want to use it as this 'echo 123>/dev/tty0' in linux. How do I do same thing in osx?

 

Thanx a lot!

 

P.S. Anyone willing to work with me on this project as programmer? Some GUI stuff would be nice!

Link to comment
Share on other sites

 Share

×
×
  • Create New...