Quote:
|
Originally Posted by whytheheckme
Here is the BASIC code. I added the SERIN after the one that is already there. I have the dashboard port hooked to the Program port via a null modem cable. I have also tried it with a direct serial. The null gives me basic run err and the direct gives me basic init err.
Thank you,
Jacob Komar
I attached the file. get rid of the .txt to get the bsx.
|
The problem is that in your second serin, you are reading from the wrong pin (should be 16 not 1/0), at the wrong baud rate.
the line should read
Serin 16, 110, [oi_sw...
Pin 16 is connected to the input pin of the program port. You need to use a baud rate of 19,200. 110 instructs a baud of 19,200 (as calculated from the formula in the basic stamp manual). This might not work. The datasheet strongly cautions against using a baud higher that 4800 or the stamp might not be able to keep up.