打印
[STM32F7]

STM32F769I-DISCO评测(8)显示JPG图像

[复制链接]
624|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
STM32F7 的CUBE中有显示JPG图像的例程,那么拿来显示下图像看看能否成功。
开发板上边是800*480的图像分辨率。所以我用2345看图王把平时打坦克世界的截图给截成800*400的JPG格式文件。

然后根据例程的要求:
我的库是装在:E:\360Downloads\STM32Cube_FW_F7_V1.5.0\Projects\STM32F769I-Discovery\Examples\JPEG

- This example runs on STM32F769xx/STM32F779xx.
   
  - This example has been tested with STMicroelectronics STM32F769I_Discovery
    boards and can be easily tailored to any other supported device
    and development board.
   
  - STM32F769I_Discovery Set-up
  - Copy a jpg image to a uSD card (under the root)
      The image must have the following properties:
        - named as "image.jpg"
        - dimensions : less or equal to the LCD-DSI screen (i.e 800x480 for the STM32F769I_Discovery board)
        - Witdh  : <= 800
        - Height : <= 480     
  - Connect the uSD Card to the uSD connector (CN5).


可见是命名为image.jpg考到SD卡的根目录下边。

放好SD卡后下载编译好的程序,加电一瞬间先是黑屏然后突然就亮了。我想这是先关显示,等DMA2准备好了就刷屏。速度很快毫秒级。

以下是显示的图片,其实它不是800*480的但我用2345看图王改变尺寸变成了800*480的。




以下是效果图:



还有一个例程在E:\360Downloads\STM32Cube_FW_F7_V1.5.0\Projects\STM32F769I-Discovery\Applications\Display

这个是连续显示图片的。

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

个人签名:http://shop34182318.taobao.com/ http://shop562064536.taobao.com

2394

主题

6938

帖子

66

粉丝