Home > other >  Stm32 read sd card in BMP file, use the serial port to upload, upload the data and inconsistent with
Stm32 read sd card in BMP file, use the serial port to upload, upload the data and inconsistent with

Time:09-27

Read data is part of the hex open the BMP file data (after the comparison is the same) in front of the black picture is a serial port receives, white is to use hex software to open,
Read the data and upload statements below
Res=f_open (f_bmp, "/0:0. BMP," FA_OPEN_EXISTING | FA_READ);//open the file
F_read (f_bmp bmp_buffer, 12100, (UINT *) & amp; Br); for(i=0; i<12100; I++) {printf (" % x \ r ", bmp_buffer [I]); }

Have a great god help to see if there are any problems
  • Related