reading a serial port, putting it in a EntryBox

Hello everybody

Iá trying to learn somethng about perl::GTK and I wrote some tiny code to do it.

At this moment, I'm want to do an application capable to read permanently from /dev/ttyS0 and the output put 
into an entry box

I'm using glade to draw the interface and (obviously) perl

My temperature device is a temprax; this device send me the temperature readed from a probe trought a serial 
port in ascii format

I can read from /dev/ttyS0 but I dont know how can I read continously from it and put the result in a entry 

TomÃs "Wolfhack"  Vega 
Linux user #79917 at
wolfhack yahoo com
    Free software is necessary for sustainable development. 
If everyone in your country uses a program that's secret 
and controlled by a single company, that's not development, 
that's electronic colonization. 
                                        RMS. 16 July 2003

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]