Here is how to set the variables up. The read/write part is in the manual.
The above will make PORTB.2 high.Code:TRISB = %00000000 X VAR BYTE X = %00000100 PORTB = X
Change "X" and read/write to eeprom.
Is that what you are after?
Here is how to set the variables up. The read/write part is in the manual.
The above will make PORTB.2 high.Code:TRISB = %00000000 X VAR BYTE X = %00000100 PORTB = X
Change "X" and read/write to eeprom.
Is that what you are after?
Dave
Always wear safety glasses while programming.
Bookmarks