In SX Microcontrollers, SX/B Compiler and SX-Key Tool, verobel wrote: Fellow SXers; Some questions and code for you to look at... I have been working on the SX/28 and some I2C chips. (So far: 24LC64 memory, DS1621 temp; and now MCP23016 expander) on the PDB board. Display is to a 2 Digit 7 segment LCD using RB and RC outputs. The display, temperature and memory have all been working and my latest addition is the expander chip. I now get compiler warnings & error 1) warning 37, pass 2: literal truncated to 8 bits line MOV# __PARAM1,#wr23016 ;I2CSEND, wr23016 2) error 43, pass 2: address exceeds memory limit .. I have tried commenting out portions of code..eg MEM_IN.. but still fall short Is item 1 important? Does item 2 mean my program is too big...and what to do about it? How does the setup code and then EXP_IN, EXP_OUT code look for the MCP23016? Thanks, John ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=225247 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)