In SX Microcontrollers, SX/B Compiler and SX-Key Tool, tdg8934 wrote: I have made some progress with both the BS2 and SX-28 versions of my program and got it to work except when using SHIFTOUT statements in either PBASIC or SX/B. I haven't got a clue why this is not working but at least I can do it manually. If someone could please look over my SX/B program and tell me how I can read in the data2 and data3 statement in using probably READINC statements, it would be appreciated. I tried and it did not work right at all. I have also included the PBASIC version of the program to show how a BitIndex Function routine written by JonnyMac saved alot of code duplication at least in SX/B. Very nice and thanks to JonnyMac for his Function routine. There must be an easier way to reduce all of the data2 and data3 statements into READINC and DATA statements. I have already put them into dat2 and dat3 DATA statements for your convinience. Thanks! ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=194365#m195279 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)