使用POSIX线程(或进程)和SYSTEM V信号量实现生产者消费者问题。要求: 1. 有界缓冲区内设有5个存储单元,有两个生产者线程不断向缓冲区中写数据,有两个消费者线程不断从缓冲区中读数据。 2. 每个生产者和消费者对有界缓冲区进行操作后,即时显示有界缓冲区的全部内容。
上传时间: 2016-06-12
上传用户:zhanditian
LCD显示电子计价秤方案 1. 该方案使用的传感器为20KG,灵敏度约为0.5mv/v,选用新传感器线性较好的一段(100g-15Kg),直接处理,没有做非线性修正,称重可能会有偏差. 2. 软件基于KEILC开发,使用单片机的型号为AT89S52,在main.c文件中有详细说明。
上传时间: 2013-12-29
上传用户:helmos
S-35390A是可以在超低消耗电流、宽工作电压范围内工作的2线CMOS实时时钟IC。工作电 压为1.3 ~ 5.5 V、可适用于从主电源电压到备用电池电压的宽幅电源电压。通过0.25 μA的计 时消耗电流和宽范围的计时电源电压,可大幅度地改善电池的持续时间。在使用备用电池工 作的系统中,内置的自由寄存器可作为用户备用存储器来使用。在主电源切断前存储在寄存 器中的信息,可在电压恢复后的任何时候读出。 本产品因为内置了时钟校正功能,所以可以在很宽的范围内校正因振荡电路的频率偏差所导 致的时钟数据的提前或滞后。通过此功能和温度传感器的结合,可根据温度变化来对时钟进 行校正,从而实现不受环境温度影响的高精度的计时功能
上传时间: 2016-10-15
上传用户:坏坏的华仔
This diskette (version 1.0) contains demonstration programs and source codes in MATLAB (v.5.2) for algorithms listed in the textbook Global Positioning Systems, Inertial Navigation, and Integration, by M. S. Grewal, Lawrence Weill, and A. P. Andrews, published by John Wiley and Sons, 2000. Contents: MATLAB (Version 5.2) Demonstrations & Scripts Chapter4 ephemeris.m calculates the GPS satellite position in ECEF coordinates from its ephemeris parameters. Chapter5 Klobuchar_fix.m calculates the ionospheric delay. Chapter6 (shows the quaternion utilities)
标签: demonstration diskette contains programs
上传时间: 2016-10-20
上传用户:坏天使kk
Lotus Notes开发用的在线DHTML编辑器,基于Active X control 1. This rich text editor is based on the editor used in an older sandbox posting I found. The majority of this code was NOT written by me. Credit goes to someone at Lotus (I think) for the original code. I only extended the base code to add more features, such as cut/copy/paste and adding tables. 2. This editor is based on an Active X control, so it will only work in Internet Explorer. I tested this in IE 5.5, but I think it should would in IE 5.x The Active X control is marked "safe for scripting" and should not trigger a warning from your browser about unsafe content.
标签: editor control Active Lotus
上传时间: 2016-11-27
上传用户:kr770906
function [U,V,num_it]=fcm(U0,X) % MATLAB (Version 4.1) Source Code (Routine fcm was written by Richard J. % Hathaway on June 21, 1994.) The fuzzification constant % m = 2, and the stopping criterion for successive partitions is epsilon =??????. %*******Modified 9/15/04 to have epsilon = 0.00001 and fix univariate bug******** % Purpose:The function fcm attempts to find a useful clustering of the % objects represented by the object data in X using the initial partition in U0.
标签: fcm function Version Routine
上传时间: 2014-11-30
上传用户:二驱蚊器
从ti代理商那里拿到的simpliciti 1.06源代码,可以在CC1110上跑,开发平台为IAR
标签: simpliciti 1.06 代理商 源代码
上传时间: 2013-12-26
上传用户:manlian
8单径瑞利信道中的四发四收V-BLAST: (1) 请设计一种具体的导引辅助的信道估计方法,用Simulink进行仿真,测量16QPSK调制时的误码率性能。画出比特信噪比与信道估计均方误差的关系曲线,画出比特信噪比与误码率的关系曲线。 (2) 计算所设计方案的频谱效率是多少,单位为bit/Hz/s。
上传时间: 2017-01-24
上传用户:ainimao
串口调试程序 1. 发送过程:在发送时必须保证TI=1:即发送缓冲器为空,否则将导致数据发不出去,如果想强制发送可以用:TI=1.具体发送数据:利用printf(“akjdfaklfj”) 函数直接发送即可。 2. 接收过程:在接收时多选用中断方式,这样可以节约CPU的时间,提高效率,
上传时间: 2017-01-26
上传用户:asddsd
TI 5509A DSP gpio programme 开发环境为CCS3.1版本
上传时间: 2014-01-25
上传用户:zhuimenghuadie