Hi,
Well what i would do.... i will just opcode hope it helps
1. Use Serial Port Interrupt 'check Instant Interrupts by Darrel Taylor in the forum
2. In interrupt routine something like :
Code:
IntHandleRS232:
While (Idontemember)=1 then
COMIN = (Idont remember)
Wend
IF ComIn = 254 then ' 254 is a command that indicates write eeprom of course you decide the number
hserin [BO,B1] ' receive Address B0, anda data B1 to write
WRITE B0, B1 ' you could also control the addr from the pc
ENDIF
@INT_RETURN
3. You would have to make a software (VisualBasic) on your PC that sends info with the format 254(command), addr, data.
4. mmm this its easy but not straightfordward
Well this is the way i have done it, again easy but not simple.
Bookmarks