In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Sparks-R-Fun wrote: Mike, I am not very familiar with the P.I.N.K. (I know what it is but have never used it.) However, in looking at your program I see that after you send data to the P.I.N.K. you spend a fair amount of time blinking LED2. Unlike the SHIFTIN command which only clocks in data when it is ready, SERIN has to be "watching" for the data when it is being sent. Otherwise it will miss some or all of what is transmitted. I suspect that while you are blinking LED2 the data from the P.I.N.K. is being sent. If so, your program will not be expecting it at that time and will not receive it. Try moving your SERIN statement and related logic to right after you send the data (or whenever you can expect the P.I.N.K. to send data back.) You might also need to play with the baudmode setting unless you are certain what it should be. It might help if you can connect the P.I.N.K. to the serial port of your computer temporarily and use a terminal program to verify that what you think is being sent is actually being sent. Sens-a-Dat, READINC is similar to READ but increments the index automatically. This is explained with READ in the latest version of the help file. If it is not explained in your version you may want to download the latest update. You can find the latest version in a "sticky post" at the top of this forum. - Sparks ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=259659#m259684 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)