Using a 08M2
Trying to page-write to 24LC256
I'm trying to write a program that will load an EEPROM from a text file on my PC ... I'll have a Python program that will shake-hands with the PICAXE, and will then send the text file in groups of 64 bytes ...
I'm catching those bytes okay, and storing them in memory using @bptrinc (started at 28)...
However, how can I write 64 bytes to the EEPROM without having a silly command such as
I'd like to use a for/next or a while loop ... but I don't want to just write a byte at a time ... I'd like to reduce eeprom wear (I'm not really concerned about the eeprom, but it's my goal to do page-writes, vs. byte-writes).
Any thoughts?
Trying to page-write to 24LC256
I'm trying to write a program that will load an EEPROM from a text file on my PC ... I'll have a Python program that will shake-hands with the PICAXE, and will then send the text file in groups of 64 bytes ...
I'm catching those bytes okay, and storing them in memory using @bptrinc (started at 28)...
However, how can I write 64 bytes to the EEPROM without having a silly command such as
Code:
hi2cout eeprom_address, (@bptrinc, @bptrinc, @bptrinc, ... etc 64 times)
Any thoughts?