Hi Tristan,

> I was wondering if anyone has used AmForth as an I2C slave on ATmega
> uc(s)? I've written a couple of I2C slaves in C++ using ATtiny uc(s)
> and used AmForth as an I2C master to communicate with them. I really
> appreciate the forth interpreter here. Whilst doing this I thought
> that if I changed my slave processor to an ATmega I might be able to
> remove the C++ and write the slave in AmForth. If this has been done
> before I would be grateful for any hints.

I've started with some code for the slave side. Until now it
"only" answers to the ping making the i2c.detect work on the
master side. The long term goal is something that Erich did 
for the RS485 (see commented projects).

With rev. 2172 the code is in the avr8/lib/hardware directory, but
don't expect too much. It' quite messy and not too well documented.

Matthias
------------------------------------------------------------------------------
_______________________________________________
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