In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Sparks-R-Fun wrote: Astro, There are some incompatible concepts that you are unsuccessfully trying to make work together. 1.) I do not think the [B]__RAM([/B][I]address[/I][B])[/B] alias knows how to formally handle strings. The [B]__RAM([/B][I]address[/I][B])[/B] alias allows you to access to a [B]single[/b] byte of [B]RAM[/B]. I think you would need to assign each character independently being certain to increment the RAM address each time. Also, most strings are terminated with a character value of zero to signify the end of the string. So you would probably need to add a terminating value as well. [GREEN][B]However...[/B][/GREEN] 2.) The [B]__READ([/B][I]address[/I][B])[/B] command used in your [B]SendStr[/B] subroutine reads data from [B]program memory[/B] not RAM. So you can not use the [B]__READ([/B][I]address[/I][B])[/B] command to retrieve data stored in RAM. I think that if you use [B]SendChar __RAM([/B][I]address[/I][B])[/B] to send out data that is stored in RAM one byte at a time you can achieve the results desired. If not, write back with what you tried and what happened. - Sparks ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=266261#m267637 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)