| ??? 05/03/02 20:15 Read: times |
#22488 - RE: Confirmed compatible with Tasking |
Well all I can do is tell you what I did to get to where I am now.
I took the example serial code that came with the compiler and added a little function, like this: char numstr[10]; unsigned long num1 = 500; void se_print2( unsigned long num ) { sprintf( numstr, "%lu", num1 ); se_print( numstr ); } The se_print() function expects a pointer to a string, but it gives me the error "Memory spaces do not match." I get the same error for argument #2 of the sprintf() function -- thats the "%lu" conversion specifier. Like I said before, there may be some setting somewhere that I can't find which determines how it behaves, but I have not been able to find anything that works. I've also uninstalled and reinstalled to no avail. Any ideas now? I'm currently trying to get the same code to work in the Raisonance (sp?) compiler; all I have to do is replace some of the Tasking-specific terms such as _rom and whatnot. |



