Communicating with 24LCxx memory

Coding and general discussion relating to the compiler

Moderators: David Barker, Jerry Messina

Post Reply
skartalov
Posts: 37
Joined: Fri Apr 09, 2010 10:50 am
Location: BULGARIA

Communicating with 24LCxx memory

Post by skartalov » Wed Jan 25, 2012 9:03 pm

I am trying to communicate with 24LC515 I2C memory.
Looked in manual for some easy command, but not found.

I see only example, but too many lines just to read and write.

Come on! It can't be so complicated!

It was just so easy before when I used PicBasic Pro:

i2cread & i2cwrite commands....

Wish to have something similiar in SF!

Please advice!

User avatar
Senacharim
Posts: 139
Joined: Tue Aug 10, 2010 5:19 pm
Location: Ventura, CA

Post by Senacharim » Thu Jan 26, 2012 3:48 pm

Code: Select all

Include "I2C.bas"
After that, just glance in I2C.bas if you need more.
Easy peasy.
Surviving Member
Bermuda Triangle Battalion
from 2026 to 1992

Voted "Most likely to time travel"--Class of 2024.

Post Reply