-
STM32贪吃蛇游戏源代码
应用背景STM32F103ZET6百为开发板的贪吃蛇源代码,主函数基本每一句都有注释,按照自己的思路写的,能够直接在百为STM32F103的板子上运行,代码不长,个人觉得比较清晰。关键技术主要应用了链表数据结构和利用单片机自带的AD采样来产生随机数。贪吃蛇的每一节身体都是链表中的一个元素,而食物出现的位置通过AD采样的末位组合产生的随机数来确定。
- 2022-05-31 09:07:51下载
- 积分:1
-
1-wire-bus
基于制造商应用说明的atmel处理器中单线控制的源代码
- 2022-03-22 16:11:58下载
- 积分:1
-
adc通用程序,适用于凌阳SPCE061单片机。
adc通用程序,适用于凌阳SPCE061单片机。-adc common procedures applicable to Sunplus SPCE061 SCM.
- 2023-05-02 16:20:03下载
- 积分:1
-
This article describes how to use AD to identify the user s keyboard input metho...
本文介绍了如何用AD识别用户输入的键盘的方法,较之点阵识别有其不可替代的优势;因为如果用4*4的话须消耗8个I/O口,而如果系统有AD功能的话就可能轻松解决了。
单片机8051F330发给ARM然后发给电脑。
其原理就是利用电阻的分压,按键时产生不同的电压,再用中断快速读取电压;然后对其进行编码,通过串口软件EASYARM在个人电脑里显示;经实验观察,效果还可以。 -This article describes how to use AD to identify the user s keyboard input methods, compared with dot-matrix recognition has its irreplaceable advantages because if we use 4* 4, then to be consumed eight I/O port, and if the system function in AD, then on may be easily resolved. Singlechip 8051F330 distributed computer and then distributed to ARM. Its principle is to use the sub-ballast resistor, when keys have different voltage, and then quickly read voltage interruption then encode, through the serial port software EASYARM in the personal computer display by experimental observation, the effect can also be.
- 2022-05-25 22:40:40下载
- 积分:1
-
嵌入式C和C++编程的电子书,很经典,不可多得的编程资料
嵌入式C和C++编程的电子书,很经典,不可多得的编程资料-Embedded C and C++ programming book, it is classic, rare programming information
- 2022-08-20 15:11:12下载
- 积分:1
-
avr单片机学习调试程序,在GCC环境下编译.非常好的学习资源
avr单片机学习调试程序,在GCC环境下编译.非常好的学习资源-avr m16 learning program, compiled in the GCC environment. a very good learning resources
- 2022-09-10 05:55:03下载
- 积分:1
-
一个在LINUX下运行的嵌入式数据库系统,支持SQL查询语句
一个在LINUX下运行的嵌入式数据库系统,支持SQL查询语句-a LINUX operating in the embedded database system, SQL query
- 2023-05-17 21:45:03下载
- 积分:1
-
flash serial input queue. returns 0 on success or negative error
* number oth...
flash serial input queue. returns 0 on success or negative error
* number otherwise-flash serial input queue. 0 succeeded the returns on ess or negative error number otherwise*
- 2023-03-02 17:15:03下载
- 积分:1
-
可以测量马达的实际转速,用的IC 是AT89C2051,也可以用于AT89C51
可以测量马达的实际转速,用的IC 是AT89C2051,也可以用于AT89C51-Can measure the actual motor speed, the IC is used AT89C2051, can also be used for AT89C51
- 2022-10-20 02:55:04下载
- 积分:1
-
各类源程序集锦 硬件介绍:7290 ZLG7290例程* 7290a ZLG7290汇编例程* ell 蜂鸣器音乐例程* uzz 蜂鸣器响例程* eepro...
各类源程序集锦 硬件介绍:7290 ZLG7290例程* 7290a ZLG7290汇编例程* ell 蜂鸣器音乐例程* uzz 蜂鸣器响例程* eeprom 读EEPROM并显示例程* ex26a_lcd 16×2LCD模块例程* ex36a_lcm 128×64点阵LCD模块例程* KEY_IO 直连KEY和LED例程 led_light 直连LED例程* lin_park lin模块的原码及例程。 lin LIN总线例程
s232 RS232例程(包括PC端和书上了串口例程) USB1.1 USB1.1例程(包括PC端) RS485 RS485例程 USB2.0 USB2.0例程(有3个,包括PC端) TCPIP 基于ETHERNET的TCPIP例程 RTC 时钟显示例程 CAN_SELF CAN自发自收例程 外中断1 CAN CAN例程 USBPACK 2.0 USB2.0PC例程 --Collections of various programs: hardware introduction, assembly program, LCD module, etc.
- 2022-03-23 14:19:51下载
- 积分:1