79767914

Date: 2025-09-18 01:22:27
Score: 1.5
Natty:
Report link

Your local pointer appeared to work because it was likely pointing to a RAM copy of the data that the compiler created temporarily! The global pointer failed because it was trying to directly point to PROGMEM with a regular data pointer type.

The key insight is that all pointers to PROGMEM data should themselves be declared with PROGMEM to ensure they use the correct memory space and pointer representation.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sarvenaz Ranjbar