From: Erich W. <ew....@na...> - 2012-07-08 17:52:33
|
Hello Keith! On 07/05/2012 06:29 PM, Keith Amidon wrote: > > Matthias> I collect the changes in the repository at > Matthias> http://amforth.svn.sourceforge.net/viewvc/amforth/trunk/tools/amforth-term.py?view=log > I finally got around to try out the new upload tool. The result is nothing short of spectacular! Ctrl-D to exit the thing! Cool! Nostalgia, sort of, I know :-) Command history! Bash for controllers, sort of :-))) This tool is going to be very useful for the class I give once in a while. Thank you for writing and publishing! -- I found a minor thing that puzzles me: |I=mcudef |I=using device.py for atmega32 |F=/home/ew/Forth/atmega/46_trunk-2/lib/bitnames.frt |C| 1|\ V 1.3 02.11.2007 |W| 2| |C| 3|\ Code: Matthias Trute |C| 4|\ Text: M.Kalus |W| 5| |C| 6|\ A named port pin puts a bitmask on stack, wherin the set bit indicates which |C| 7|\ bit of the port register corresponds to the pin. |C| 8|\ And then puts the address of its port on stack too. |W| 9| |C| 10|\ Use it this way: |C| 11|\ PORTD 7 portpin: PD.7 ( define portD pin #7) |E| 12|\ PD.7 high ( turn portD pin #7 on, i.e. set it high-level) |E=Illegal nested comment make: *** [marker] Error 1 Illegal nested comment? Not quite. "\ " starts a comment, which extends to the end of line, no questions asked. This is probably simple to fix, but I have not yet looked into the code. Cheers, Erich |