The pins: sda and scl as inputs or outputs to microcontoller?
If As outputs:
sda=1 'high the portx.y, x is the port of micr.,y is the bit of portx.
scl=1 'high the same as previous
DECLARE HBUS_BITRATE 100 ' and other values
TRISC=%00000000 'as outputs
after you try with:hbstart,hbusout,hbstop (in pic basic functions)
if you have other problem you ask me.
regards




Bookmarks