This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

how can you write double number to Flash memory

Does anyone have code to transfer double number to array of characters for writing to Flash memmory

Parents
  • Make your own code.

    If you want to save as ASCII, then use sprintf() to print to a buffer that you may write to the flash.

    If you want to save in binary form, then just take the address of the double variable and copy to a buffer.

    The flash does not care what you write to it. All you have to do is prepare a buffer of data and then write it to the flash.

Reply
  • Make your own code.

    If you want to save as ASCII, then use sprintf() to print to a buffer that you may write to the flash.

    If you want to save in binary form, then just take the address of the double variable and copy to a buffer.

    The flash does not care what you write to it. All you have to do is prepare a buffer of data and then write it to the flash.

Children