In SX Microcontrollers, SX/B Compiler and SX-Key Tool, RS_Jim wrote: Good Morning All. I have a problem with SXB. The following lines of code will compile OK: SHIFTIN ADC_DIO,ADC_CLK,MSBPOST,tmpB1\9,4 SHIFTOUT MEM_DO, mem_clk, MSBPRE, WRITE_M\5 This line of code returns "error 4 pass 1 MSBPOST constant expected". I can change post back to pre and it will compile but as soon as I change the letters to post it will not compile. I am running V 1.51.03 of SXB. After testing my code I reread the data sheet and decided that it probably was not working because of the pre/post issue so went to change my shiftout/shiftin commands to MSBPOST. The chip is a 93AA66 512 byte eeprom. SHIFTOUT MEM_DO, mem_clk, MSBPOST, WRITE_M\5 Any ideas? Radio Shack Jim :roll: ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=298820 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)