自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 资源 (4)
  • 收藏
  • 关注

原创 编译合宙CSDK项目luatos-soc-2022出错解决

安装xmake之后最好要先在cmd命令行中先执行下xmake updata -s dev指令更新下xmake的lua脚本

2024-03-04 07:30:00 1579 1

原创 分享3个函数

【代码】分享3个函数。

2022-09-19 13:11:24 143

原创 十进制数值字符串转各种位宽的整形数据demo

本demo实现了字符串转各种位宽的函数,代码简单效率高,非常适合单片机嵌入式应用。需要注意的是字符串需要按照严格的输入要求输入才行,比如“-127”,“255”等,除了第一个字符可以是负号‘-’外,其他字符必须是数字,对应位宽的数字字符,必须选择对应的函数。demo如下。#include <stdio.h>#include <string.h> /* exact-width signed integer types */typedef signed .

2020-08-06 11:13:01 391

原创 Altium Designer中覆铜时如何处理热焊盘和过孔直连

什么是热焊盘热焊盘指在大面积的接地(电)中,常用元器件的腿与其连接,对连接腿的处理需要进行综合的考虑,就电气性能而言,元件腿的焊盘与铜面满接为好,但对元件的焊接装配就存在一些不良隐患如:①焊接需要大功率加热器。②容易造成虚焊点。兼顾电气性能与工艺需要,做成十字花焊盘,称之为热隔离(heatshield)俗称热焊盘(Thermal)。废话不多说,直接霸道的上张图就明了...

2020-01-03 16:05:39 5127 3

原创 冒泡排序算法C语言代码

代码是用C-Free5.0编译器测试的,只要改测试程序中的排序算法函数就可以看到测试结果,代码如下:#include &lt;stdio.h&gt;int Arr1[24][25]={10,11,12,13,14,0,1,2,3,4,9,8,7,6,5,19,18,17,16,15,20,21,22,23,24,10,11,12,13,14,0,1,2,3,4,9,8,7,6,5,20,2...

2018-05-25 22:05:29 6797

原创 C语言中do{...}while(0)的秒用

今天看了些有关do{...}while(0)秒用的文章,觉得写的很好,这里总结下分享给大家。这里分享的有3个用法,分别是:1.避免空的宏定义在编译时出现warning。2.多个语句一起,定义成一个宏时,增加代码适应(特别是条件语句调用这类宏要注意)3.避免部分goto语句的使用避免空的宏定义在编译时出现warning//例如:#define foo() do{}while(0)多个语句一起,定义...

2018-03-22 13:19:59 4171

Cat.1模组EC600N-CN Open 文档资料SDK

Cat.1模组EC600N-CN Open 文档资料SDK大全

2022-02-11

开关电源入门基本知识

STM8S音频软件编解码 Introduction This application note describes a simple and easy-to-use solution to help design and develop products with an audio output, for example, toys, white goods, washing machines, and alarms. Audio data generally require the storage of a lot of memory. However, the memory space needed to preserve such data can be reduced by compressing the audio data via a specified compression method. Processing these data is a complex task requiring powerful microcontrollers such as DSP or audio chip. Usually, 8-bit microcontrolles do not offer either a large memory or a high computing performance. The software solution offered in this application note reconstructs audio signals from compressed samples. A simple audio codec based on an adaptive differential pulse coded modulation (ADPCM) algorithm is used and advantage is taken of the advanced STM8S core with its 3-staged pipeline and 16 or 24 MIPS peak performance. The digital samples are usually converted to an analog signal by some external or onchip digital-to-analog converter (DAC). There are a lot of applications where the high fidelity audio output is not a priority and/or the use of an external DAC is not a suitable costeffective solution for 8-bit microcontrollers. To reduce costs and to offer a good quality audio, an ideal solution is to generate an audio signal using pulse width modulation (PWM). The example firmware and application hardware design are provided with this application note to enable easy porting of the offered solution to the final application.

2017-11-06

免费绿色flash播放器

免费绿色flash播放器 可播放flash8以上版本的swf文件

2010-03-23

高等数学习题课讲义同济大学应用数学系主编

高等数学习题课讲义同济大学应用数学系主编 高等数学习题课讲义

2009-10-24

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除