Re: [Flashforth-devel] draft of revised tutorial guide for FF5
Brought to you by:
oh2aun
From: Peter J. <pe...@me...> - 2014-05-13 12:26:28
|
Thanks Pete. Your rewrite is better. Today's exercise was to put in an interrupt example (to count button presses). http://dropbox.eait.uq.edu.au/e4pjacob/flash-forth/ff5-tutorial-guide-2014-05-13.pdf Peter J. On 13/05/14 00:34, Pete Zawasky wrote: > Hi Peter, > Ver. May 12, 2014 > Page 18 Section 5.1 > *********************************************** > Consider: > *********************************************** > Is: > > Notes on this program: > > Line 1 records the state of the dictionary so that we can reset it to > it's state before the code was compiled, simply by executing the word > -flash-led. > > If the file is loaded multiple times, line 2 resets the dictionary > state, else the inter- > preter signals that it can't find the word and continues interpreting > the file. > > Should be: > > Notes on this program: > > If the word -flash-led has been previously defined with the word > marker, line 1 resets the dictionary stateand continues interpreting > the file, else the interpreter signals that it can't find the word > and continues interpreting the file. > > Line 2 records the state of the dictionary and defines the word > -flash-led so that we can reset the dictionary to it's state before > the code was compiled, simply by executing the word -flash-led. > > ***************************************** > > Pete > > > On 5/12/2014 9:18 AM, Peter Jacobs wrote: >> Another revision with small edits: >> http://dropbox.eait.uq.edu.au/e4pjacob/flash-forth/ff5-tutorial-guide-2014-05-12.pdf >> Added note about resetting the watchdog timer in the push-button example. >> >> First draft of the cheat sheet ported to FF5. >> http://dropbox.eait.uq.edu.au/e4pjacob/flash-forth/flash-forth-5-sheet-2014-05-12.pdf >> Just finished the AVR assembler notes and it's late at night here, so >> there could be >> quite a few corrections to be made... tomorrow. >> >> Regards, >> Peter J. >> >> > |