-
STC12C5A60S2广州塔(1)
这个文件是光立方的制作方法,用STC系列单片机控制,广州塔形状,多种亮法,内部有详细的程序,需要的话可以自己改变代码(This document is the production method of light cube, controlled by STC series singlechip, the shape of Canton Tower, various bright methods, the internal detailed program, and can change the code by itself if necessary.)
- 2018-07-20 09:47:31下载
- 积分:1
-
马达转速检测
利用atmega64单片机的定时器捕获检测马达的转速。
- 2022-04-17 21:45:45下载
- 积分:1
-
mimo, cognitive radio, communication system, spectrum access, spectrum sharing
mimo,认知无线电,通信系统,频谱接入,频谱共享
- 2022-06-01 02:10:44下载
- 积分:1
-
读取dxf
说明: 实现对单图层dxf文件的信息采集,例如直线的起止点、圆弧的圆心与半径等(Achieving Information Collection of DXF Files with single layer)
- 2019-06-29 10:47:57下载
- 积分:1
-
对k-means聚类算法的改进
K均值算法的一个改进算法,简单实用,但是有点简单。(K-means algorithm of an improved algorithm is simple and practical, but a bit simple.)
- 2020-06-30 11:20:02下载
- 积分:1
-
Lexical-analysis
实现词法分析
输入为一个写有字符串的txt文件。
程序读入txt文件,并进行操作。
(Lexical analysis to enter into a written string txt file. The program reads the txt file, and operation.)
- 2012-05-21 09:27:31下载
- 积分:1
-
寻迹小车
单片机控制。关于按轨迹行驶的自动小车案例。(Single chip microcomputer control)
- 2018-03-10 20:02:38下载
- 积分:1
-
HNCDataCollection
这是一个用于采集机床运行状态数据的程序。(Machine tool data acquisition)
- 2021-03-03 13:39:35下载
- 积分:1
-
读者写者问题
说明: 1、定义一个数据缓存buffer及用于实现同步互斥的信号量。
2、定义一个读者函数:
?当有写者在占用buffer时,读者应该等待,直到写者不再使用该buffer。
?当有其他读者在占用buffer时,读者可对buffer进行读取操作。
?当buffer中有数据时,则从其中读取一个数据,并显示然后退出。
?当buffer中没有数据时,应等待,直到buffer中有数据可读。
3、定义一个写者函数
?当有读者在占用buffer时,写者应该等待,直到所有的读者都退出为止。
?当有其他写者占用buffer时,该写者应该等待,直到占用buffer的写者退出为止。
?当buffer有空闲时,写者应该在buffer中写入一个数据并退出。
?当buffer满时,写者应该等待,直到buffer有空闲为止。
4、定义主函数,在其中可以任意创建读者与写者。
可根据用户输入创建读者或写者进程(线程)。(1. Define a data buffer and semaphores for synchronization and mutual exclusion.
2. Define a reader function:
When a writer is occupying the buffer, the reader should wait until the writer no longer uses the buffer.
When other readers occupy the buffer, they can read the buffer.
When there is data in the buffer, read a data from it, display and exit.
When there is no data in the buffer, wait until the data in the buffer is readable.
3. Define a writer function
When a reader is occupying the buffer, the writer should wait until all readers quit.
When other writers occupy the buffer, the writer should wait until the writer who occupies the buffer exits.)
- 2019-12-27 18:49:46下载
- 积分:1
-
mfc10
MFC10-5图像列表控件个列表视图控件的应用实例
-MFC10-5 image list control to a list view control application examples
- 2022-03-06 20:48:35下载
- 积分:1