Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
type bin_file_t is file of character;
file my_bin_file : bin_file_t open read_mode is "some_file.bin";
variable buf : character;
variable buf_int : integer;
.....
read(my_bin_file, buf);
buf_int := character'pos(buf);
fs=fopen('file.bin','w+');fwrite(fs,0:1023,'bit10');fclose(fs);