Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
amforth [2007-07-09 19:20]
127.0.0.1 external edit
amforth [2007-07-24 16:10] (current)
nik
Line 22: Line 22:
 </file> </file>
    
 +
 +
  
 ==== hello world (aka, blinking an LED) ==== ==== hello world (aka, blinking an LED) ====
Line 91: Line 93:
 <file> <file>
 : blink -- , blink PORTC5 for 100ms 20 35 c! 64 ms 0 35 c! 64 ms ;  : blink -- , blink PORTC5 for 100ms 20 35 c! 64 ms 0 35 c! 64 ms ; 
-</file>**(64 ms)**<code> +</file>**(64 ms)**
-  +
-</code>+
  
 NOTE: 100 is 0x64 in hex, so  pauses for 100ms. NOTE: 100 is 0x64 in hex, so  pauses for 100ms.
Line 99: Line 99:
  
 then a word to blink multiple times: then a word to blink multiple times:
-   
  
 <file> <file>
 : blinks n -- , blink n times 0 do blink loops ;  : blinks n -- , blink n times 0 do blink loops ; 
-</file>so now +</file> 
- + 
 +so now
  
 <file> <file>
Line 159: Line 159:
 </file> </file>
    
 +
  
 ==== backing up ==== ==== backing up ====
Line 180: Line 181:
 ---- ----
  
-[[/media/amforth-upload.py.txt]] 
-<file> 
  
-</file>+
 ---- ----
 Libarynth >  Libarynth Web > AmForth r4 - 09 Mar 2007 - 11:56 Libarynth >  Libarynth Web > AmForth r4 - 09 Mar 2007 - 11:56
-----#!/usr/bin/env python+---- 
 + 
 +==== amforth-upload.py ==== 
 +<file> 
 + 
 + 
 +#!/usr/bin/env python
  
 # amforth-upload.py # amforth-upload.py
Line 373: Line 378:
 if __name__ == "__main__": if __name__ == "__main__":
  main(sys.argv[1:])  main(sys.argv[1:])
-</pre>+ 
 +</file>
  • amforth.1184008835.txt.gz
  • Last modified: 2007-07-09 19:21
  • (external edit)