Hello,
> Thanks i ve already did that but the problem is that i am not
> familiar with how to deal with the serial port in general for reading
> and writing. i read some sample codes from the net but they are too
> complex.
> yours,,,
I would suggest refering to the "Serial Programming HOWTO"
http://www.tldp.org/HOWTO/Serial-Programming-HOWTO/. It gives example
code as well as explanations of the code...
//Eddie
> --- In Dave Cramer <> wrote:
>>
>> Hi,
>>
>> You are aware that the 7000 ships with com2 enabled as a login. In
>> order to use it for anything else you need to disable this
>>
>> comment out the section in /etc/inittab
>>
>> dave
>> On 7-Dec-05, at 8:04 AM, ashraf_abussaud wrote:
>>
>>> Hi All,,,,
>>>
>>>
>>> I want to ask if any one can tell me how to write a simple test C Code
>>> that will read an write from and into COM2. Assume that COM2 is
>>> connected into amother computer that will read your data wait for 2
>>> seconds and send it back to the KIT throught the same COM2.
>>>
>>> Best regards,,,,
>>>
>>>
>>>
>>>
>>>
>>> ------------------------ Yahoo! Groups Sponsor --------------------
>>> ~-->
>>> AIDS in India: A "lurking bomb." Click and help stop AIDS now.
>>> http://us.click.yahoo.com/9QUssC/lzNLAA/TtwFAA/CFFolB/TM
>>> --------------------------------------------------------------------
>>> ~->
>>>
>>>
>>> Yahoo! Groups Links
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/CFFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|