Jump to content
ELFORUM - Forumul electronistilor

Scriere memorie I2C


Bird

Recommended Posts

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

atunci cred ca nu sunt setate corect paginilemai dar pune si tu ceva cod aici ca sa vedem si noi , altfel ne dam si noi cu parerea

adr _var_wordfor adr = 98 to 170       i2cwrite I2CDAT, I2CCLK, $A0, adr,["INCERCARE DE A SCRIE MAI MULT DE O SUTA DOUA ZECI SI SASE DE CARACTERE   "]         pause 50         next adr
or am incercat sa scriu direct
adr =98i2cwrite I2CDAT, I2CCLK, $A0, adr,["INCERCARE DE A SCRIE MAI MULT DE O SUTA DOUA ZECI SI SASE DE CARACTERE   "]
Link to comment

Am rezolvat :

i-am dat sa citeasca cate un caracter din sir , sa-l puna in "c" , pe care apoi il scriu, pe rand , in memorie la adr + x.

       for x = 0 to 80       lookup x,["INCERCARE DE A SCRIE MAI MULT DE O SUTA DOUA ZECI SI SASE DE CARACTERE   Q"], c         i2cwrite I2CDAT, I2CCLK, $A0, adr+x,[c]         pause 50         next adr

Iti multumesc mult pentru amabilitate ( ma stimulat sa ma mai uit o data pe program )

 

Cu stima ,

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.Terms of Use si Guidelines