当前位置:   article > 正文

stm32F407zgt6的LCD+FSMC_stm32f407 fsmc

stm32f407 fsmc

1、CubeMX配置如下

FSMC部分:

watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETkDljZPliJst55S15o6nLWh5Yg,size_20,color_FFFFFF,t_70,g_se,x_16

watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETkDljZPliJst55S15o6nLWh5Yg,size_20,color_FFFFFF,t_70,g_se,x_16

 配置PB15:

watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETkDljZPliJst55S15o6nLWh5Yg,size_20,color_FFFFFF,t_70,g_se,x_16

 配置时钟源:

watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETkDljZPliJst55S15o6nLWh5Yg,size_20,color_FFFFFF,t_70,g_se,x_16 

 2、代码部分:

移植好delay文件和lcd文件(包含lcd.c、lcd.h、font.h),两个delay函数初始化别忘了

主函数部分:

watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETkDljZPliJst55S15o6nLWh5Yg,size_20,color_FFFFFF,t_70,g_se,x_16

watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETkDljZPliJst55S15o6nLWh5Yg,size_20,color_FFFFFF,t_70,g_se,x_16 

watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETkDljZPliJst55S15o6nLWh5Yg,size_20,color_FFFFFF,t_70,g_se,x_16 

watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETkDljZPliJst55S15o6nLWh5Yg,size_20,color_FFFFFF,t_70,g_se,x_16  

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/知新_RL/article/detail/713298
推荐阅读
  

闽ICP备14008679号