This is a multi-part message in MIME format. --===============0411348580== Content-Type: multipart/related; boundary="----=_NextPart_000_0011_01C68A2B.61F830C0" This is a multi-part message in MIME format. ------=_NextPart_000_0011_01C68A2B.61F830C0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi Can anyone tell me how to get the data in the var holder to the var atten_setting? I was under the impression that atten_string is in program memory and that holder is an auto variable in data memory. I'm also "assuming" the function memmoveram2pgm would move the value in holder (which has the correct data when I view in the debugger) to atten_setting. This is not working but I can't see why not any sugestions out there? rom char atten_string[6]; void Attenuation_adjust(void) { char holder[6]; unsigned long x; unsigned char RF_atten_setting; RF_atten_setting = read_RF_Atten(); x = RF_atten_setting; ultoa(x,holder); memmoveram2pgm(atten_string,holder); LCD_Clear(); LCD_Position_Cursor(0,0); Write_LCD_Data(2); Phillip Things should be as simple as possible but no simpler Phillip Coiner CTO, GPS Source, Inc. Your source for quality GNSS Networking Solutions and Design Services, Now! ------=_NextPart_000_0011_01C68A2B.61F830C0 Content-Type: image/jpeg; name="image001.jpg" Content-Transfer-Encoding: base64 Content-ID: /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0VFhEYIx8lJCIf IiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/wAALCAA9AHIBAREA/8QAHwAAAQUBAQEB AQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1Fh ByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZ WmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXG x8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/9oACAEBAAA/APZaKKKKKKKRmVFLMQqg ZJJwAKoWmvaPqEcslnqtncJCcS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d6pNez3MSu4LDykJGfkU Dgdu+cVW8XXl7b2dlb6cZPtN3eJGBE6o5QAu4DNwPlU81PHoUjRqW1jVVYgZH2hTg/8AfNef3unm 1v5LYzb9r43FcZ5+tdDpngmG7iWae9faf4UQD9STXRWPhrSdPIaK0V3H8cvzH9a1egxUc8EVzA8E 8ayRSKVdGGQwPUGo7KxtNOtxb2VvHbxAk7I1wMnqfrTL/StP1VEXULKG5EZyglQNt9cVZRFjRURQ qqMKqjAA9Kq3Gkabd3kd5cWMEtxFgJK8YLDByOfY81cqumn2cbxulrErRO8iEIMqz53Ee5yc/Wp2 UMpVgCCMEHvVWw0rT9KR0sLOG2WQ5YRIFBpNQ0nT9WjSPUbOG6SNtyCVAwU4xkVajjSKNY41CIgC qo6ADoK//9k= ------=_NextPart_000_0011_01C68A2B.61F830C0-- --===============0411348580== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist --===============0411348580==--