登录
首页 » 算法 » 8051 串口 循环缓冲区

8051 串口 循环缓冲区

于 2022-02-11 发布 文件大小:27.54 kB
0 212
下载积分: 2 下载次数: 1

代码说明:

串口C程序 , STC mcu ,循环缓冲区, 解决串口丢数据问题, 实际工程中很稳定, 接收时, 在中断中接收, 写入循环缓冲区, 主程序去循环缓冲区中取数据。 

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 中缀表达求后缀表达式及其值
    中缀表达求后缀表达式及其值-expression for which there is a suffix expression and values
    2022-03-02 19:28:46下载
    积分:1
  • 抽注器(作为购买彩票时的一个依据)
    用VB编写的源代码,抽注器(作为购买彩票时的一个依据)
    2022-01-26 02:50:05下载
    积分:1
  • viterbi213 硬判决 c语言代码
    viterbi 硬判决是指解调器根据其判决门限对接收到的信号波形直接进行判决后输出0或1,换句话说,就是解调器供给译码器作为译码用的每个码元只取0或1两个值,以序列之间的汉明距离作为度量进行译码,适用于二进制对称信道(BSC)
    2022-10-21 21:35:03下载
    积分:1
  • 自己编写的,背包问题的各种近似以及动态规划,请多多指教...
    自己编写的,背包问题的各种近似算法以及动态规划算法,请多多指教-I have written, knapsack problem, as well as a variety of approximate dynamic programming algorithm algorithm, please advice
    2023-07-22 05:35:03下载
    积分:1
  • 傅里叶变换fft
    How To Use void main(void) { gen_w_r2(w, N); // Generate coefficient table bit_rev(w, N>>1); // Bit−reverse coefficient table DSPF_sp_cfftr2_dit(x, w, N); // radix−2 DIT forward FFT // input in normal order, output in // order bit−reversed // coefficient table in bit−reversed // order DSPF_sp_icfftr2_dif(x, w, N); // Inverse radix 2 FFT 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
    2022-03-02 15:55:21下载
    积分:1
  • 八皇后问题的解,非常好,请大家看一下,谢谢了
    八皇后问题的解法,非常好,请大家看一下,谢谢了-8 Queen" s problem solution, very good, please look at, I would like to thank the
    2022-01-28 01:59:41下载
    积分:1
  • A Reader Anti-collision Protocol for RFID-Enhanced Wireless Sensor Networks
    资源描述Abstract Considering rapid developments in the technologies of both radio-frequency identification (RFID) systems and wireless sensor networks (WSN), an integration of the two technologies may lead to the formation of an RFID-enhanced WSN which would possess improved functions and capabilities. In the RFID-enhanced WSN, many reader-enhanced nodes have increasingly been employed. In such networks, RFID data contains a lot of duplication, because the same tag may be read multiple times, and collision may occur among readers, while energy constraints are also a serious problem. These three could in turn cause serious problems. In this paper, we have proposed our CSMA-based algorithm since it is light, efficiently minimizes all kinds of reader collision, and eliminates the duplicate data. For this purpose, we have used a separate control channel and a tag ID forwarding mechanism with a special co
    2023-05-06 18:20:03下载
    积分:1
  • kalman_filter
    自适应的kalman滤波程序,通过灵活的调用,实现kalman的自适应滤波。-kalman_filter
    2022-08-16 22:04:05下载
    积分:1
  • lzw 压缩
    LZW压缩,实现文本的压缩,压缩比在2:1以上 ZW算法基于转换串表(字典)T,将输入字符串映射成定长(通常为12位)的码字。在12位4096种可能的代码中,256个代表单字符,剩下3840给出现的字符串。
    2023-04-13 07:20:04下载
    积分:1
  • 卡尔曼滤波是一种递推估计,估计的随机状态。
    A Kalman filter is a stochastic , recursive estimator , which estimates the state of a system based on the knowledge of the system input, the measurement of the system output, and a model of the relation between input and output.
    2023-04-16 16:00:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载