-
小制作2.0_贪吃蛇
51的贪吃蛇小游戏,没什么算法,多看就明白了(51 Snake Eating Game, there is no algorithm, you can see more clearly.)
- 2020-06-21 10:00:02下载
- 积分:1
-
breadthsearch
a source code that impliment bradth first search
- 2009-12-13 01:10:35下载
- 积分:1
-
UART_TXaRX
单片机接收从电脑串口发送出来的一串字符串,却只能接收到第一个字符,其他的都丢失了或者是接收到的是乱码,却不知道是什么原因。其实,那是因为,虽然单片机的是全双工串口,但是串口的缓冲区(SBUF)却一般只有一个字节,即1Byte,远没有像电脑串口的缓冲区以KB计算那么大,并且,单片机的处理速度是很有限的,试想一下,假如要求一串字符串以9600bps的速率,一个起始位,一个结束位,无校正位,相当于960Byte/s传输到单片机,单片机要是能够全部接收的话,那么单片机接收和处理一个字节的时间仅为约1ms的时间。这说明了,如果单片机的处理速度不够快,还没有将接收到的上一帧数据及时转送到单片机的RAM中,而电脑串口又传输过来一帧新的数据,这帧新的数据就会把单片机的串口输入缓冲区的SBUF给刷新掉,或者说单片机压根就没有接收到新的一帧数据,造成了数据的丢失或接收到乱码。
如果需要单片机接收到从串口发送过来的一段很长的字符串,并且能够都正常接收和显示(TX&RX FUNCATION between PC and MCU)
- 2013-10-20 08:35:17下载
- 积分:1
-
main
EDA课程设计抢答器的程序,将程序加入仿真电路可直接运行出结果(EDA course design responder programs, add the program simulation circuit can be run directly the results
)
- 2015-05-21 20:28:37下载
- 积分:1
-
i2c_slave_V1.2
在stm32单片机上,用IO口的上升沿和下降沿中断设计的I2C从机代码。测试通过。所有过程用状态机来控制,没有cpu空延时。
核心代码和单片机相关代码分开,方便移植。
主要用在项目验证和学习交流!(On stm32 microcontroller, with rising and falling IO port interrupt design of I2C slave code. The test. All the process is controlled by a state machine, no cpu empty delay. Microcontroller core code and related code separate, easy to transplant. Mainly used in the project validation and exchange of learning!)
- 2021-04-06 10:29:02下载
- 积分:1
-
FX_keyreader
Mitsubishi FX Keyreader to unlock FX1S,1N, 2N
- 2014-11-28 17:05:18下载
- 积分:1
-
AD5422
使用内部硬件SPI,与模拟电流电压输出芯片AD5422通讯。(Using the internal hardware SPI, the analog voltage output current AD5422 chip communication.)
- 2021-02-01 11:10:00下载
- 积分:1
-
基于STM8S103简易开发调试工具
说明: 基于STM8S103 简易开发调试工具Simple Debugger for STM8S103,explication in chinese,(Simple Debugger for STM8S103, explication in chinese. Simple Debugger for STM8S103, explication in chinese.)
- 2019-12-26 14:02:20下载
- 积分:1
-
VSCthree--level-two-loop
基于PSCAD的双环两电平仿真电路,对于理解三电平原理非常有用。(Based on PSCAD bicyclic two-level circuit simulation, very useful for understanding the three-level principles.)
- 2021-05-10 00:58:34下载
- 积分:1
-
nrf9051
无线通讯nrf905,很适合初学者来学习,里边包括了对射频寄存器的设置什么的(Wireless communication nrf905, it is suitable for beginners to learn, inside contains the settings for RF registers what)
- 2013-12-02 20:34:57下载
- 积分:1