Hi, Just wondering if there would be any conflict running both these libraries. They both use EEPROM and seem to have there own addressing system. Is there a possibility of overlap? I am using both right now and it does not seem to be an issue. I want to be 100% sure for future expansion ect.
Thanks,
instrumentek:
Hi, Just wondering if there would be any conflict running both these libraries. They both use EEPROM and seem to have there own addressing system. Is there a possibility of overlap? I am using both right now and it does not seem to be an issue. I want to be 100% sure for future expansion ect.
Thanks,
It works because they DON'T both use EEPROM memory space. pgmspace is using the FLASH memory space, the same memory that the sketch uses for the compiled code to execute.
AVR chips have 3 memory spaces:
- Flash for code
- EEPROM for user data only
- SRAM for variables, arrays, heap, and stack usage.
Lefty