Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • Flash program memory or flash EEPROM? Commented Jan 3, 2017 at 9:43
  • Flash program memory. Commented Jan 3, 2017 at 9:51
  • Use objcopy to turn it into a .o file, fabricate an appropriate .h file containing the symbols in the .o file, and then compile against the .h and link against the .o. Commented Jan 3, 2017 at 10:28
  • 2
    Replace the spaces with ,, prepend 0x to the start of each pair, so you get 0xA0, 0x3F, 0x55, ..., then wrap it in const byte myData[] PROGMEM = { ... your data ... }; - Personally I would write a small script to do it in Perl or PHP (I loathe Python with a passion). Commented Jan 3, 2017 at 11:27