Hello Peter and welcome, I have just tried the turnkey example from the docs
http://amforth.sourceforge.net/TG/recipes/Turnkey.html and it works for me. Your error message[1] ?? -13 23 after the line ' turnkey defer@ Evalue tk.amforth suggests that you are missing the word Evalue Have you loaded these files on your mcu? avr-values.frt is.frt ms.frt defers.frt as the line ' turnkey defer@ Evalue tk.amforth depends on words defined in these files. Secondly, this mailing list message (at the bottom of the message) shows an alternative approach https://sourceforge.net/p/amforth/mailman/message/35161327/ : tk.custom applturnkey \ your code goes here ; ' tk.custom is turnkey Best wishes, Tristan [1] http://amforth.sourceforge.net/TG/Architecture.html#exceptions On 11Jun19 21:08, Peter Mortensen wrote: > > > I think revision 2122, 2016-06-26 (the latest for that file) for > page "Turnkey applications" wiped out the 'variable' line for > the containing old turnkey thingy (now 'tk.amforth') - > > > https://svn.code.sf.net/p/amforth/code/trunk/doc/source/TG/recipes/Turnkey.rst > > > Corresponding web page: > http://amforth.sourceforge.net/TG/recipes/Turnkey.html > > > Thus, before the line " ' turnkey defer@ Evalue tk.amforth " > (line 38/39) there should probably be this line(?): > > > variable tk.amforth > > > > The error message is the non-descriptive: > > ?? -13 23 > > 'Evalue' was found in: > > \lib\forth2012\core\avr-values.frt > > > > (I have done my first real Forth project (the first version > is based on Arduino Uno hardware), and it is going to be > deployed to the real world! In exactly one instance. It > involves sending RC codes (433.92 MHz) to a 220 V relay. > > The turnkey thing is the last hurdle. And perhaps avoiding > hardware reset (I/O ports, etc.) when connecting through > USB. > > I have also installed Mecrisp Stellaris Forth on the 1Bitsy > (<https://www.kickstarter.com/projects/esden/1bitsy-and-black-magic-probe-demystifying-arm-prog>), > intended for some CAN bus work, but this is the first real > project. > ) > > > > Regards, > Peter Mortensen > > > > > _______________________________________________ > Amforth-devel mailing list for http://amforth.sf.net/ > Amforth-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/amforth-devel _______________________________________________ Amforth-devel mailing list for http://amforth.sf.net/ Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel