Como programar puerto serie?

07/01/2004 - 18:14 por Pda | Informe spam
Como se puede programar el puerto serie desde Pocket PC ?

Muchas gracias.
 

Leer las respuestas

#1 ONIL
08/01/2004 - 20:41 | Informe spam
Hola Pda !

Mira esto lo encontre en un foro de pocket PC Developers..
I can read serial data through the PC2000 emulator OK but
cannot send, except at about 3 baud.

The problem is shown with the simplest code i.e.

Private Sub cmdInput_Click()
lblInput = Comm1.Input
End Sub

Private Sub cmdOutput_Click()
MsgBox "About to output. "
Comm1.Output = "1" ' Takes about 20 seconds!
MsgBox "Outputted" ' and it eventually works
End Sub

Private Sub Comm1_OnComm()
' Nothing happens here
MsgBox "OnComm. comm1.comEvent=" & Comm1.CommEvent
End Sub

Private Sub Form_Load()
Comm1.PortOpen = True
End Sub


The input side works OK, but the time between pressing OK
on "About to Output" and receiving "Outputted" is 10-30
seconds or more.

The COM port has default settings - no handshaking (3-wire
connection only), settings 9600,N,8,1.

Pygoes
Como puedes ver es Basic.. asi que puedes utilizar eVB si tienes una pocket
con SO pocket PC 2002 o Vb.Net si tienes una pocket con SO 2003.. por
supuesto que tambien puedes ocupar C/C++ y herramientas de terceros como
CodeWarrior, AppForge etc..

Espero que esta info te sea de utilidad..

Salu2.

MX.

"Pda" @.com> wrote in message
news:%
Como se puede programar el puerto serie desde Pocket PC ?

Muchas gracias.


Preguntas similares