Article View: borland.public.cppbuilder.nativeapi
Article #6504Aiuto: lettura porta rs232 (in Windows XP) collegata con PIC16F84
From: Francesco costanza
Date: Thu, 05 May 2005 06:31
Date: Thu, 05 May 2005 06:31
16 lines
1633 bytes
1633 bytes
Sto cercando di interfacciare un PIC16f84 con la porta seriale rs232 di un
computer
su cui gira Windows XP prof.. Sto usando le Api di Windows:
CreateFile(
PortaSerialeCorr.c_str(),GENERIC_READ | GENERIC_WRITE,
NULL,
NULL,
OPEN_EXISTING,
FILE_ATTRIBUTE_NORMAL,
NULL
);
ReadFile(hComm, &chRead, 1, &dwRead, NULL)) ...
etc.
Con Windows 98 e Windows 2000 server funziona tutto mentre con WindowsXP no.
Potete contattarmi alla seguente e-mail: francesco.costanza@inwind.it
Technical Details
Message-ID:
<x5jee.100339$zZ1.2828676@twister1.libero.it>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!nntp.infostrada.it!twister1.libero.it.POSTED!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,d1dd1cce5480fe8e,start X-Google-Attributes: gid10cc67,public X-Google-Language: ITALIAN,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!nntp.infostrada.it!twister1.libero.it.POSTED!not-for-mail From: "Francesco costanza" <francesco.costanza@libero.it> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Aiuto: lettura porta rs232 (in Windows XP) collegata con PIC16F84 Lines: 19 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original Message-ID: <x5jee.100339$zZ1.2828676@twister1.libero.it> Date: Thu, 05 May 2005 06:31:57 GMT NNTP-Posting-Host: 151.37.159.174 X-Complaints-To: abuse@net24.it X-Trace: twister1.libero.it 1115274717 151.37.159.174 (Thu, 05 May 2005 08:31:57 MET DST) NNTP-Posting-Date: Thu, 05 May 2005 08:31:57 MET DST Organization: [Infostrada]