Hi Jan,
> Wire.beginTransmission(THERM);
> Wire.send(0);
> Wire.endTransmission();
> Wire.requestFrom(THERM, 2);<==
> Temperature_H = Wire.receive(); <=
> Temperature_L = Wire.receive(); <=
>
> into the amForth without any success.
>
> In this case I set the re
Hello,
I try to convert the arduino source :
Wire.beginTransmission(THERM);
Wire.send(0);
Wire.endTransmission();
Wire.requestFrom(THERM, 2);<==
Temperature_H = Wire.receive(); <=
Temperature_L = Wire.receive(); <=
into the amForth without any success.
In this
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:
Hello,
I have translate a I2C program thats working on the arduino.
It is the 7segment display from Gravitech.us
= ARDUINO =
#include
#define _7SEG (0x38) /* I2C address for 7-Segment */
const byte NumberLookup[16] = {0x3F,0x06,0x5B,0x4F,0x66,
Hello,
When I try to load spi.frt the definition is missing.
Can't find the definition of in the direcory.
Where can I find it?
Thanks,
Jan kromhout
Sacharovlaan 3
3223HM Hellevoetsluis-NL
--
Live Security Virtual
10 matches
Mail list logo