To prevent the data EEPROM from being overwritten and the data table being downloaded on the X2 parts the #no_table command may be used. To prevent the data EEPROM from being overwritten the #no_data command may be used. The program and data EEPROM (plus table data for the X2 parts) is usually overwritten with every download. The table command is used (within the program) to preload table data which can then be accessed with the readtable and tablecopy commands. The eeprom command is used (within the program) to preload data EEPROM which can then be accessed and changed with the read and write commands. The PICAXE X2 parts include 256 bytes of table data, similar to EEPROM data memory but read-only. The 28X2 and 40X2 have four slots of internal program memory of 4096 bytes each. In addition the X2 parts can access up to 32 slots of external program memory of 4096 bytes each held in I2C EEPROM. The PICAXE X2 parts have 4096 bytes of program and 256 bytes of EEPROM data memory. The PICAXE M2 parts have 2048 bytes of program and 256 bytes of EEPROM data memory.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |