-
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
-
- 2022-02-02 14:48:56下载
- 积分:1
-
STM32-frequency-measurement-
该程序是基于STM32外部触发计数器的测频程序代码,可以测量的范围是0-100MHZ误差1 不到。(The program is based on the STM32 external trigger counter frequency measurement program code, can be measured in the range of 0-100MHZ error of less than 1 .)
- 2020-12-12 11:09:16下载
- 积分:1
-
singlecycle_mips
single cycle mips design by verilog.
- 2020-09-07 19:48:02下载
- 积分:1
-
简单的键盘响应程序,可以使文字随框移动
简单的键盘响应程序,可以使文字随框移动-simple keyboard response procedures that will enable mobile frame with the words
- 2022-03-04 05:18:56下载
- 积分:1
-
mnsuer
modbus 源码 modbus master yuanma(Modbus source modbus master yuanma)
- 2019-01-06 02:05:07下载
- 积分:1
-
xian2
通过键盘创建有若干个元素(可以是整型数值)的单链表,实现对单链表的初始化,对已建立的顺序表插入操作、删除操作、查找操作、遍历输出单链表。
要求各个操作均以函数的形式实现,并且在主函数中调用各个函数实现以下操作:
( 1 )键盘输入单链表 x 、 x 、 x 、 x 、 x 、 x ,并输出显示,其中 x 为任意整数。
( 2 )在单链表的第 4 个位置插入 67 ,并输出单链表中的各元素值。
( 3 )删除单链表中的第 2 个数据元素,并输出单链表中的各元素值。
( 4 )查找单链表中的第 5 个元素并输出该元素的值。(A single linked list with several elements (which can be integer values) is created by keyboard to initialize the single linked list, insert operation, delete operation, search operation and traverse the output single linked list.
Each operation is required to be implemented in the form of a function, and each function is called in the main function to implement the following operations:
(1) Keyboard input single linked list x, x, x, x, x, x, and output display, where x is an arbitrary integer.
(2) Insert 67 at the fourth position of the single-linked list and output the values of each element in the single-linked list.
(3) Delete the second data element in the single-linked list and output the values of each element in the single-linked list.
(4) Find the fifth element in the single list and output its value.)
- 2019-04-18 20:15:36下载
- 积分:1
-
JavaApplication10
说明: example of recursive algorithm
- 2019-06-30 01:28:01下载
- 积分:1
-
使用visual basic 做短信 可参看此代码做用户菜单
使用visual basic 做短信 可参看此代码做用户菜单
- 2022-02-06 20:51:59下载
- 积分:1
-
LED点阵显示牌的设计与动态显示控制3.PDF
LED点阵显示牌的设计与动态显示控制3.PDF-q
- 2022-01-31 23:05:47下载
- 积分:1