Steve2381
Senior Member
Hello all
I have not tinkered with my Picaxe ICs for quite a while, so last night I thought I would break out the Axe091 and connect up an LCD to a Picaxe.
Yea... this box of Picaxe chips are dangerously near going in the bin
Started with a Parallel LCD that I know worked, but after an evening playing around, and no luck, I gave up on that.
So dug out some LCM1602 LCD screens with a piggybacked I2C converter on them. They are the version that does not have an adjustable address, so I don't actually know what address they are.
But, after spending all morning on it... trying addresses $71, $e2, $40, $20, $4e, $c6... no luck. Tried another IC and tried another screen. Zip.
Clearly I am doing something wrong.
So before I resign this box of Picaxe to the bin and go back to my Teensy, anyone got any ideas?
I used this to fire it up (which might be the issue)
init:
setfreq m8
pause 500 ; wait for display to initialise
hi2csetup i2cmaster,$27,i2cslow,i2cbyte ; set up i2c master for LCD
main:
hi2cout 0,(254,128,255) ; move to start of first line
pause 10 ; wait for LCD to process data
hi2cout 0,("Hello!123",255) ; output text
end
Frustrated!
I have not tinkered with my Picaxe ICs for quite a while, so last night I thought I would break out the Axe091 and connect up an LCD to a Picaxe.
Yea... this box of Picaxe chips are dangerously near going in the bin
Started with a Parallel LCD that I know worked, but after an evening playing around, and no luck, I gave up on that.
So dug out some LCM1602 LCD screens with a piggybacked I2C converter on them. They are the version that does not have an adjustable address, so I don't actually know what address they are.
But, after spending all morning on it... trying addresses $71, $e2, $40, $20, $4e, $c6... no luck. Tried another IC and tried another screen. Zip.
Clearly I am doing something wrong.
So before I resign this box of Picaxe to the bin and go back to my Teensy, anyone got any ideas?
I used this to fire it up (which might be the issue)
init:
setfreq m8
pause 500 ; wait for display to initialise
hi2csetup i2cmaster,$27,i2cslow,i2cbyte ; set up i2c master for LCD
main:
hi2cout 0,(254,128,255) ; move to start of first line
pause 10 ; wait for LCD to process data
hi2cout 0,("Hello!123",255) ; output text
end
Frustrated!