-
FlappyBird2
大致思路说说,就是在外部SRAM里面做了一个大数组[320][240]做了一帧缓冲,所有屏幕相关操作都是在这一帧上面实现的,使用DMA直接丢数据到FSMC接口上,比I/O快多了,然后就是资源的去背问题,所有的图片都是我从手机版上面截图下来的,然后背景色都是0X4DF9,然后因为jpg转换软件的关系,蓝色的背景色会有偏差所以直接判断把0x4df9不显示不可行,后来想到可以用RGB颜色来入手,虽然不是0x4df9但是还是蓝色,所以蓝色分量肯定比红色多,所以做了一个阈值判断(Roughly speaking, a large array [320] [240] is made in the external SRAM to do a frame buffer. All screen-related operations are implemented on this frame. Using DMA to drop data directly to the FSMC interface is much faster than I/O. Then it is the problem of resource backtracking. All the pictures are taken from the top of the mobile version, and then the background color is 0X4DF9. Later, because of the relationship between JPG conversion software, the blue background color will be biased, so it is not feasible to directly judge that 0x4df9 is not displayed. Later, I thought that RGB color can be used to start with. Although it is not 0x4df9, it is still blue, so the blue component must be more than red, so I made a threshold judgment, and then it is the transition between scene and scene.)
- 2019-06-17 12:06:28下载
- 积分:1
-
实例70_界面效果_ASCII查询器
实例70_界面效果_ASCII查询器(Example 70_ interface effect _ASCII query device)
- 2017-10-24 00:46:13下载
- 积分:1
-
exam3_1
说明: 徐荣桥-结构分析的有限元法与MATLAB程序设计-examples-3.1(Finite Element Method and MATLAB Programming for Xurongqiao-Structural Analysis)
- 2020-06-21 00:20:01下载
- 积分:1
-
数字信号处理的快速傅里叶变换(FFT)代码
数字信号处理的快速傅里叶变换(FFT)代码-Digital Signal Processing of Fast Fourier Transform (FFT) code
- 2022-01-24 13:30:28下载
- 积分:1
-
vimconfig
说明: vim配置及超简单使用,ctags配置,一键使用(vim configuration and super simple use, ctags configuration, one key use)
- 2020-07-24 11:05:49下载
- 积分:1
-
This Ajax Framework
This Ajax Framework-This is Ajax Framework
- 2022-09-19 03:55:03下载
- 积分:1
-
四输入四输出ELM
多输入多输出的极限学习机,被证明是可以使用的(Extreme Learning Machine with Multiple Input and Multiple Output has been proved to be usable)
- 2021-04-16 10:38:53下载
- 积分:1
-
新学Python的练手程序,写的是通讯录,不过是命令行的,没有采用图形.对于新人很有帮助...
新学Python的练手程序,写的是通讯录,不过是命令行的,没有采用图形.对于新人很有帮助-Contact System Python Version
- 2022-12-12 03:10:03下载
- 积分:1
-
CheckListCtrl
通过一个例子说明checklistctrl控件的使用方法(checklistctrl sample)
- 2017-10-31 12:19:01下载
- 积分:1
-
Program
说明: 迭代学习优化PID控制器的典型simulink程序(Typical Simlink Program for Iterative Learning Optimizing PID Controller)
- 2020-07-02 18:00:02下载
- 积分:1