Component: Embed File (Storage)
From Flowcode Help
Jump to navigationJump to searchAuthor | Matrix TSL |
Version | 1.0 |
Category | Storage |
Contents
Embed File component
A component to simplify the process of embedding files into ROM. Stores the file inside a ROM look up table.
Component Pack
STORAGE
Detailed description
No detailed description exists yet for this component
Examples
Basic example program which embeds a text file into the microcontrollers ROM memory and then prints the file out to a LCD display.
EmbedFileExample
Text file to go with the example, must be placed into the same directory as the Flowcode file.
Here is an archive which packages the example and text file together for you.
The file is selected using the File component property.
Clicking the small arrow to the right of the property and selecting Browse allows you to select a file using a Windows file explorer.
Downloadable macro reference
![]() |
GetFileByte |
Reads a single byte from the file at the specified address. | |
![]() |
Address |
Address range 0 to NumBytesInFile - 1 | |
![]() |
Return |
![]() |
GetFileLength |
Returns the file size in bytes. | |
![]() |
Return |