Equip your Genius
Welcome to the Parallax Discussion Forums, sign-up to participate.
Learn with BlocklyProp
problems with SERIN and BS2
2018-11-28 - 23:03:14
I had more thoughts about this, having posted it, and I realise that I can use the same cable, as used previously, but simply take a jumper from pin 3 (Tx)on the DB9 onto one of the I/O pins on the Stamp and a jumper from pin 5 on the DB9 to GND on the Stamp
this works fine
sorry to have bothered anyone who looks at this post
2018-11-28 - 23:48:51
Look in the Basic Stamp Syntax and Reference Manual in the chapters on the SERIN and SEROUT statements. These discuss how to interface to RS-232 signals with just a resistor in the input lead and using inverted mode.
2018-11-29 - 21:57:04
I'm always trying to save code space. You could save a little in your program by doing this:
index1 = serData(x) - "0"
-- please do not call me Jonny.