Ernesto
04-09-2007, 06:45 AM
Hello there!
I have a problem with my usb basic stamp1. I'm using SERIN to receive a serial communication at 1200 bauds.· The problem is that when I receive something I put it in a variable and when I Debug it the result is not what I transmit to it.
·I'm trying to make a wireless communication with RF transmitters and one RF receiver. The RF receiver is now connected with the usb basic stamp1. The transmitter is connected with a PIC which makes the serial output.
When I use a simple serial connection to the computer I obtain perfect characters into the HyperTerminal, so I think that the Transmitter is transmitting very well.
The code I'm using is this
' SERIN.BS1
' {$STAMP BS1}
' {$PBASIC 1.0}
SYMBOL· SIn············ = 7
SYMBOL· Baud··········· = N1200
SYMBOL· result········· = W1
Main:
· SERIN SIn, Baud, #result
· DEBUG #result, CR
· GOTO Main
· END
THANKS!!!
SORRY FOR MY BAD ENGLISH
I have a problem with my usb basic stamp1. I'm using SERIN to receive a serial communication at 1200 bauds.· The problem is that when I receive something I put it in a variable and when I Debug it the result is not what I transmit to it.
·I'm trying to make a wireless communication with RF transmitters and one RF receiver. The RF receiver is now connected with the usb basic stamp1. The transmitter is connected with a PIC which makes the serial output.
When I use a simple serial connection to the computer I obtain perfect characters into the HyperTerminal, so I think that the Transmitter is transmitting very well.
The code I'm using is this
' SERIN.BS1
' {$STAMP BS1}
' {$PBASIC 1.0}
SYMBOL· SIn············ = 7
SYMBOL· Baud··········· = N1200
SYMBOL· result········· = W1
Main:
· SERIN SIn, Baud, #result
· DEBUG #result, CR
· GOTO Main
· END
THANKS!!!
SORRY FOR MY BAD ENGLISH