LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

I2C: How to Read/Write AT24C01?

I tried to read data from AT24C01 but can not, an error always appears.

my code here.

AT24C01A.png

Where is wrong? please help me.

Thank!

0 Kudos
Message 1 of 7
(6,985 Views)

What is the error?

0 Kudos
Message 2 of 7
(4,679 Views)

Thank for your reply,

Error message:

Errors_message.png

And my Schematic:

schematic.png

thank.

0 Kudos
Message 3 of 7
(4,679 Views)

Are you able to run the LED Blink example?  If no, then it's likely not related to the sensor:  http://digital.ni.com/public.nsf/allkb/8D47D6C48D0ABA0A86257884007035F1.


0 Kudos
Message 4 of 7
(4,679 Views)

Thank you,

I have successfully read and write data in AT24C01

0 Kudos
Message 5 of 7
(4,679 Views)

What did you do to fix your problem?  It's good to post your solution so that if others have a similar issue then they can find an answer.

0 Kudos
Message 6 of 7
(4,679 Views)

My problem is not correct device address.

Write and read memory AT24C01 with correct code:

AT24C01_Read_Write.png

Message 7 of 7
(4,679 Views)