I'm still getting no joy from the i2c command. I'm using a PIC16F819 chip with the following program.
Using a scope on PortA,0 and 1, I see no modulation on either line. The two lines stay high from the 10Kohm pullup resistors on the slave device.
poke $8F,%01100000 'set oscillator to 4MHz - OSCCON
poke $03,%00110000 'set to Bank 1 - STATUS
poke $85,%00000000 'set PortA all outputs - TRISA
symbol addr = %00101010
symbol blah = $80
main:
i2cout addr,blah,($00,%0000100,255,0,0,%10000000,$FF,$00, %10101010)
pause 100
goto main
Any clues? Thanks for the previous comments.
Alan
Bookmarks