This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
notes:discrete:fall2022:projects:rle2 [2022/10/31 16:32] – [PROGRAM] pleblanc | notes:discrete:fall2022:projects:rle2 [2022/11/03 02:53] (current) – [PROGRAM] dkienenb | ||
---|---|---|---|
Line 48: | Line 48: | ||
</ | </ | ||
+ | **NOTE** Control value is input as a decimal 0-255. When running encode for this project, the control value should be input as ' | ||
+ | |||
+ | **NOTE** To convert a string argument into a usable decimal, set your desired variable equal to //atoi()// and put the string argument you wish to convert in the function. This works with unsigned chars as well as ints. If you atoi to an unsigned char, it is easy to put it into the header array with a simple assignment. | ||
===Explanation=== | ===Explanation=== | ||
Input-file-> | Input-file-> | ||
- | Outpath-> | + | |
+ | Outpath-> | ||
Stride-> | Stride-> | ||
+ | |||
Control-> | Control-> | ||
=====DATA HEADER SPECIFICATIONS===== | =====DATA HEADER SPECIFICATIONS===== |