2

I'm new at hardware programming: I work with the pic18F4550 with the C compiler from microchip version 8.63. My question is: has someone example code to write a .wav file (binary data) to the flash memory of the pic18F4550?

Paul R
  • 208,748
  • 37
  • 389
  • 560
projecten1
  • 67
  • 9

1 Answers1

1

Use a bin2c program to convert the WAV file to a C source file with the data contained in a const char array. Then compile and link this file with your source code. Your linker should place const variables in flash memory on the PIC.

Judge Maygarden
  • 26,961
  • 9
  • 82
  • 99