Shop OBEX P1 Docs P2 Docs Learn Events
connection doubt... — Parallax Forums

connection doubt...

04A23604A236 Posts: 18
edited 2004-11-12 21:33 in BASIC Stamp
Hi,

I'm an amateur using BS2P for my final year project...·

can anyone be so kind to tell me...· Is the connection for 24LC16B the same for 24LC32A?
Can the sample program I2C.bsp be used on 24LC32A?· cause when i run the sample program...
It lead to the label "error"... during the reading cycle....

···· Reading...
···· Error at location: 0000
···· Found: 255 Expected: 000

Is it possible to use other pins other than 0 and 1?· cause they are used up for other purpose...
[noparse]:([/noparse]

Another problem encountered:
I have splitted my huge program into two sub-programs...· and saved into a new subfolder...
but when i run the program, the result is that from my old program...
What could have possibly went wrong?

Please advice...

Thanks,
Rita

Post Edited (04A236) : 11/12/2004 10:06:20 PM GMT

Comments

  • Jon WilliamsJon Williams Posts: 6,491
    edited 2004-11-12 20:26
    The attached files should help out.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas Office
  • 04A23604A236 Posts: 18
    edited 2004-11-12 20:34
    Wow! that's a prompt reply...

    You're the best!!!

    I've tried·it out...· and seems to be working...
    I'll modify it to be used in my project...
    Hope you don't mind....

    [noparse]:D[/noparse]

    Post Edited (04A236) : 11/12/2004 8:40:12 PM GMT
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2004-11-12 20:56
    That's why we write and post demos -- so that you can succeed with our products. Good luck with your project.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas Office
  • 04A23604A236 Posts: 18
    edited 2004-11-12 21:25
    Thanks!!

    [noparse]:D[/noparse]
    I will try real hard..

    Erm.... Is it normal to see "fail" result?
    seems like the inVal only readin $FF??
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2004-11-12 21:27
    If you have a good part and it's connected properly, you shouldn't. I hooked it up and it runs fine.· Make sure that your connections match the attached schematic.







    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas Office


    Post Edited (Jon Williams) : 11/12/2004 9:42:23 PM GMT
    408 x 339 - 4K
  • 04A23604A236 Posts: 18
    edited 2004-11-12 21:33
    YEAH!!· I've found out my mistake...

    my pin 8 and 9 is those from AUXIO...
    need the command AUXIO...
    Ooops!!
    ;p

    It's working now...

    Post Edited (04A236) : 11/13/2004 3:55:10 PM GMT
Sign In or Register to comment.