error: expected initializer before 'MEM_TEXT'

Hello,

should be something simple, but I dont find it today anymore :disappointed_relieved: .....


In file included from /tmp/356519143/TransistorTester_shared/TransistorTester_shared.ino:16:0:

/tmp/356519143/build/sketch/Transistortester.h:157:38: error: expected initializer before 'MEM_TEXT'

const unsigned char TestRunning[] MEM_TEXT = "Testing.";

^


I am working in Arduino Web Editor in the Cloud, so everyone can see the sketch and help... :sunglasses:

its here :

cool, the online Web Editor, isnt it ? 8)

Or you could post the code here

Code is very long...

click on the link and it pops on your screen....

you can then download the sketch or edit and verify online ....

Thanks for your advices !

(deleted)

These #includes need a bit of shuffling around

...
 #include "Makefile.h" //JLG
 #include "Transistortester.h"             <<< uses MEM_TEXT
 #include "config.h"
 #include "part_defs.h"
 #include "lcd_routines.h"
 #include "lcd_defines.h"
 #include "wait1000ms.h"
 #include "autoconf.h"                     <<< defines MEM_TEXT
 #include "tt_function.h"
...

thanks for your hint 8)

I added the line

#include "autoconf.h"

in the Tab Transistortester.h

and now it rocks !