Dear Matthias,
Thanks for this. I have now a complete working I2C connection with my 7seg
display and my arduino.
Now I working on the tmp75 temperature controller (i2c)
When this working I will publish the code for other newbies as I am!
Thanks to all they helped me in the last time, this is a
Hi Jan,
I'm not an expert for TWI, some I've spend some time with EEPROM
modules (dont use the code in the lib directory, its broken).
> Dear Erich, I have done what you wrote, seems to work.But when I look
> to te code of twi.frt I see some strange thing, or missing
> sommething. When I look int
Hi Jan,
On 06/02/2012 07:33 PM, Jan Kromhout wrote:
> Dear Erich,
> I have done what you wrote, seems to work.
Very good!
> But when I look to te code of twi.frt I see
> some strange thing, or missing sommething.
> When I look into the code never is sending
> the address in twi.start \ send sta
1 2 lshift or ] literal
TWCR c!
twi.wait
; Where should I put the address? Thanks for any help.Cheers, Jan
> Date: Fri, 1 Jun 2012 21:36:24 +0200
> From: ew.fo...@nassur.net
> To: amforth-devel@lists.sourceforge.net
> Subject: Re: [Amforth] TWI - 7segment display Gravitech.us
Dear Erich
What should I give in at f-cpu=1600
Try twi.scan? But no result.
Thanks for any help!
Cheers
Jan
Jan kromhout
Sacharovlaan 3
3223HM Hellevoetsluis-NL
Op 1 jun. 2012 om 21:36 heeft Erich Waelde het volgende
geschreven:
> Hi Jan,
>
>
> On 06/01/2012 08:58 PM, Jan Kromhout wr
Hi Jan,
On 06/01/2012 08:58 PM, Jan Kromhout wrote:
> It is not working.
Where exactly is "it"?
Can you talk to the twi device? Did you try twi.scan? It should
report every device on the twi bus.
Did you enable the twi subsystem?
\ enable twi
\ TWBR = $03, TWPS[10] = $03 ==> 28 kHz (f_cpu: