-
include
说明: RSDK 1.3.6 includes for integration in custom projects
- 2020-09-22 18:00:22下载
- 积分:1
-
I2C_SHT21
说明: I2C_SHT21 温湿度传感器测量
I2C 读取SHT21 温湿度传感器
SHT21驱动库有两种操作模式,适合不同操作
自动转换测量模式:
1:启动任意一个测量指令,例如测量温度执行 measureT();
2:延时200ms
3:读取测量后的数值, autoMeasure(float * th);
该函数读取测量得出的数据,并根据数据的类型进行转化,再自动启动下一个类型的测量
指定转换测量模式:
1:先启动一次测量,例如测量温度执行 measureT();
2:延时200ms
3:读取测量后的数值,例如读取温度执行readT();(2C_ SHT21 temperature and humidity sensor measurement
I2C read SHT21 temperature and humidity sensor
SHT21 driver library has two operation modes, which are suitable for different operations
Automatic conversion of measurement mode:
1: Start any measurement command, for example, measure the temperature and execute measure();
2: Delay 200ms
3: Read the measured value and Automeasure (float * th);
This function reads the measured data, converts it according to the data type, and then automatically starts the next type of measurement
Specify the conversion measurement mode:
1: Start a measurement first, for example, measure the temperature;
2: Delay 200ms
3: Read the measured value, for example, read the temperature and execute readt();)
- 2020-08-27 14:44:39下载
- 积分:1
-
2.3
一个简单的猜数游戏程序:
利用Math.random()方法生成0-1之间的double型数dNum,将dNum转换为0-100之间的整数iNum。
利用KeyInput.readInt()方法接收键盘输入的整数inNum。如果inNum小于iNum,在屏幕上显示“输入的值小,请输入更大的数.”;如果inNum大于iNum,在屏幕上显示“输入的值大,请输入更小的数.”;如果inNum等于iNum,在屏幕上显示“猜对了.”,并结束运行。
猜测错误的时候,重新输入inNum,直到猜对为止。如果猜测10次后仍未猜对,显示“猜测次数已达10次,猜数失败.”,并结束程序的运行。
(A simple guessing game program: use Math.random () method to generate double-type numbers between 0-1 dNum, will dNum into an integer between 0-100 iNum. use KeyInput.readInt () method receives the keyboard input integer inNum. If inNum less than iNum, the screen " Enter the value of the small, enter the greater number." If inNum than iNum, the screen " Enter the value of the large number of smaller type." If inNum equal iNum, displayed on the screen, " guessed." and end the run. guess wrong, re-enter inNum, until you guess it right up. If the guess was right 10 times not to show " guess the number has reached 10 times, guess the number of failures." And end the program.)
- 2010-11-03 14:29:09下载
- 积分:1
-
SINS-initial-alignment-of-several
捷联惯导系统初始对准几种不同滤波方法对比matlab程序(SINS initial alignment of several different filtering matlab program)
- 2012-10-11 21:27:06下载
- 积分:1
-
AdvanAI
调用研华PCL数据采集卡进行采集数据例程,很容易理解,舍弃了繁琐功能!(Call Advantech PCL data acquisition card for data collection routines, it is easy to understand, abandoning the cumbersome features!)
- 2015-04-13 15:59:50下载
- 积分:1
-
c#劳资系统,报表工资,自定义工资分配
c#劳资系统,报表工资,自定义工资分配,考勤批量修改,考勤天天修改,节假日c#劳资系统,报表工资,自定义工资分配,考勤批量修改,考勤天天修改,节假日c#劳资系统,报表工资,自定义工资分配,考勤批量修改,考勤天天修改,节假日c#劳资系统,报表工资,自定义工资分配,考勤批量修改,考勤天天修改,节假日c#劳资系统,报表工资,自定义工资分配,考勤批量修改,考勤天天修改,节假日c#劳资系统,报表工资,自定义工资分配,考勤批量修改,考勤天天修改,节假日
- 2023-02-11 09:15:12下载
- 积分:1
-
svpwm
DSP28335空间电压矢量调制SVPWM调制程序,浮点DSP编程(DSP28335 space vector modulation SVPWM modulation program)
- 2014-05-03 14:46:24下载
- 积分:1
-
compare_pcl_gpucpu-master
对比CPU和GPU加速,pcl::cuda的使用教程,利用随机采样一致(RANSAC)去除地平面等例子。(Compare CPU and GPU acceleration, pcl::cuda tutorial, using random sampling consistency (RANSAC) to remove ground plane and other examples.)
- 2021-02-28 20:49:36下载
- 积分:1
-
学生信息系统
一个简易的学生信息系统,包含了数据库和控件的连接,可以在控件层面进行针对数据库的信息添加、删除等相关修改,以及在datagrid上显示数据库中的信息
- 2022-07-15 09:50:42下载
- 积分:1
-
armok01167658
最近用Mega128写了一个128点FFT程序,浮点运算,加汉宁窗。由于窗函数和旋转因子通过查表得到,所以速度还可以,程序中给的初值是通过高速AD采集的20KHz正弦信号。计算结果与Matlab的FFT函数得到的结果相同。 (Mega128 recently wrote a 128-point FFT procedures, floating-point operations, Hanning window. Since the window function and the twiddle factor look-up table has been adopted, so the speed can also be, the initial value to the process through high-speed AD collected 20KHz sinusoidal signal. The calculation results with the Matlab)
- 2007-09-02 21:16:08下载
- 积分:1