Content originally posted in LPCWare by ECamino on Thu Feb 28 08:03:55 MST 2013
If I did something like this:
#include <stdio.h>
int main() {
char buff[8] = "8 Bytes!";
char * pdata;
memcpy (pdata, &buff[0], sizeof (pdata));
}
pdata would point to a copy of the data. But I would have to use more ram (still using two bufferes), and I'd use more program memory (and probably more ram) for the call and running the func...:(