Re: Pic18f2550 EEPROM Write
No Reply Till Now , I Tried To Make It With at24c32 , Also With No Success !!!
* I Have A0&A1&A2&WP Wired To GND .
My Code :
AX VAR Byte
AX = $22
I2cWRITE PORTB.0,PORTB.1,$A0,$33,AX ; >>>Where Portb.0 is datapin , portb.1 clock pin , $A0 control , $33 memory address , AX my Data .
Nothing Written Or Wrong Values .
Re: Pic18f2550 EEPROM Write
dears ,
please this drive me crazy , tried 16f84a & 18f2550 , no success at all, tried many examples , even in the installation of pbp folder all not working .
Re: Pic18f2550 EEPROM Write
Quote:
I2cWRITE PORTB.0,PORTB.1,$A0,$33,AX ; >>>Where Portb.0 is datapin , portb.1 clock pin , $A0 control , $33 memory address , AX my Data .
did you read the pbp manual or the 24c32 data sheet ?
I2cWRITE PORTB.0,PORTB.1,commandbyte,addressword,[databyte];
Re: Pic18f2550 EEPROM Write
Dear Richard ,
thanks For Your Reply ,
But Let Me Explain Something , I read Both , And Tried everything With no Success .
Finally I Tried To Make It With Proton basic , Do you know , its working like a charm from first try with the A/M Example .
The Issue With Picbasic Itself .