Sorry... double post
Do you have pullup resistors on each module? If so you should remove them otherwise you parallel them, and if the pullup value on the I2C bus become too low hardy it will work. A recommended value for bus pullup is 4.7K to 10K.
Cheers
Al.
Last edited by aratti; - 17th October 2013 at 00:52.
All progress began with an idea
Currently have 4K7s only. Doubled checked to be sure.
Okay, try inserting brackets around your OUTP variable this way:
I just tried removing the brackets on a short test program I've been playing with and it didn't work right anymore until I put them back.Code:mainloop: FOR LP = 0 TO 9 READ LP, OUTP I2CWRITE SDA, SCL, CHP001, [OUTP] 'WRITE 1's PAUSE 250 I2CWRITE SDA, SCL, CHP010, [OUTP] 'WRITE 10's PAUSE 250 I2CWRITE SDA, SCL, CHP100, [OUTP] 'WRITE 100's PAUSE 250 NEXT LP Goto mainloop 'LOGICAL END
Louie
Wow... How dumb do I feel? It works perfectly now! I've been sitting here scratching a bald spot behind my right ear as I review every comma, wire, and word on the manual page - all the while looking right past the missing brackets.
Thanks, Louie. I guess I just don't know how to say it more plainly than that. I really appreciate the help.
I just did a little more extensive testing... moved the digits around and fiddled with the timing some... it is rock solid now, every digit works in every position - fast - without skipping or cogging. Very nice! Thank you ALL again for your attention, time, and effort.
Last edited by Amoque; - 17th October 2013 at 04:02.
Congrats
I'm also still stuck on this, and thought I still must be misunderstanding something.I'm confused how the 1st I2C address is even responding.
It shouldn't have worked at all as far as I can tell.
Pictures of display device?
Cool! You're welcome Amoque, glad you can continue on your quest.
I'm with Art, still confused with the addresses that are working. It must be an early version not mentioned in the data sheet I was looking.
Louie
Bookmarks