- or download this
SPEC:
Read 1376 byte binary file into uint16_t array
...
Argument "0^S" isn't numeric in printf
FIXED? RGB[16]=0X0000, [22]=0 <<<<<<WRONG
----------------------------------------------------
- or download this
pack(TEMPLATE,LIST)
S An unsigned short value.
Template="S"
List = one value, DECIMAL 7360
- or download this
int xres=7360;
uint16_t my_ui16[688];
...
my_ui16[16] = (uint16_t)xres;
printf("Xres=%hu\n");
>> Xres=7360
- or download this
my_uint_16_var = (uint16_t) 7360;
- or download this
Those layers will also be ignored if you specifying a colon with no na
+me following it. In that case the default layer for the operating sys
+tem (:raw on Unix, :crlf on Windows) is used.
- or download this
regardless of platform, use binmode() on binary data, like images, for
+ example.