Now that I have a repeatable process worked out that will yield a
programmed part, I'd like to give the part more functionality.

For starters, I'd like to add 1-wire capability to the Uno. 

It appears that I need to modify the 1wire.asm file prior to including
it.  This seems to include the following changes:

;.EQU OW_BIT=4
;.equ OW_PORT=PORTE

to .equ OW_BIT=4
(not sure if this is the best pin to use?)
and
.equ OW_PORT=PORTx
(the 'x' depends upon the pin used for OW_BIT, correct?)

Having made these changes, where do I include 1wire.asm?  I've tried
putting it into the project template (mine is called amForth-5.asm) at a
point just after the line:
.include "drivers/usart_0.asm"

This gave me a bucket of errors! 

Can anyone help me over this minor hump?

Thanks,

Michael




------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to