nodemcu-master-8-modules-2020-05-06-03-33-37-float.bin
2024/7/18 13:14:32 452KB ESP8266
1
将4字节转float类型和将float型转4字节
2024/7/16 13:18:22 4.26MB 4字节转float
1
符合IEEE754规则的4字节数组转换为单精度浮点数的Labview实用小vi
2024/2/24 18:11:13 28KB Labview IEEE754 转换 Float
1
非常好用的float和hex互相转换工具值得下载
2024/2/21 8:17:03 130KB float hex
1
1、输入如下正确的常量说明串:constcount=10,sum=81.5,char1=‘f’,max=169,str1=“h*542..4S!AAsj”,char2=‘@’,str2=“aa!+h”;
输出:count(integer,10)sum(float,81.5)char1(char,‘f’)max(integer,169)str1(string,“h*542..4S!AAsj”)char2(char,‘@’)str2(string,“aa!+h”)int_num=2;char_num=2;string_num=2;float_num=1.2、输入类似如下的保留字const错误的常量说明串:Aconsttcount=10,sum=81.5,char1=‘f’;输出类似下面的错误提示信息:Itisnotaconstantdeclarationstatement!Pleaseinputastringagain!3、输入类似如下含常量名或常量值错误的常量说明串:constcount=10,12sum=81.5,char1=‘ff’,max=0016;
输出类似下面的错误提示信息:count(integer,10)12sum(Wrong!Itisnotaidentifier!)char1(Wrong!Therearemorethanonecharin‘’.)max(Wrong!Theintegercan’tbestartedwith‘0’.)int_num=1;char_num=0;string_num=0;float_num=0.
2024/1/27 0:49:23 3KB 编译原理
1
多旅行商matlab实验源码实现了三种多旅行商问题%MTSPOF_GAFixedOpenMultipleTravelingSalesmenProblem(M-TSP)GeneticAlgorithm(GA)%Findsa(near)optimalsolutiontoavariationofthe"open"M-TSPby%settingupaGAtosearchfortheshortestroute(leastdistanceneeded%foreachsalesmantotravelfromthestartlocationtounique%individualcitiesandfinallytotheendlocation)%%Summary:%1.Eachsalesmanstartsatthefirstpoint,andendsatthelast%point,buttravelstoauniquesetofcitiesinbetween(noneof%themclosetheirloopsbyreturningtotheirstartingpoints)%2.Exceptforthefirstandlast,eachcityisvisitedbyexactlyonesalesman%%Note:TheFixedStartistakentobethefirstXYpointandtheFixedEnd%istakentobethelastXYpoint%%Input:%XY(float)isanNx2matrixofcitylocations,whereNisthenumberofcities%DMAT(float)isanNxNmatrixofcity-to-citydistancesorcosts%SALESMEN(scalarinteger)isthenumberofsalesmentovisitthecities%MIN_TOUR(scalarinteger)istheminimumtourlengthforanyofthe%salesmen,NOTincludingthestartpointorendpoint%POP_SIZE(scalarinteger)isthesizeofthepopulation(shouldbedivisibleby8)%NUM_ITER(scalarinteger)isthenumberofdesirediterationsforthealgorithmtorun%SHOW_PROG(scalarlogical)showstheGAprogressiftrue%SHOW_RES(scalarlogical)showstheGAresultsiftrue%%Output:%OPT_RTE(integerarray)isthebestroutefoundbythealgorithm%OPT_BRK(integerarray)isthelistofroutebreakpoints(thesespecifytheindices%intotherouteusedtoobtaintheindividualsalesmanroutes)%MIN_DIST(scalarfloat)isthetotaldistancetraveledbythesalesmen%%Route/BreakpointDetails:%Ifthereare10citiesand3salesmen,apossibleroute/break%combinationmightbe:rte=[56942837],brks=[37]%
1
U_Print(USART1,int(angle[0].roll*Rad2Dree));//pitchmpu1U_Print(USART1,int(angle[0].pitch*Rad2Dree));//rollmpu1U_Print(USART1,int(angle[0].yaw*Rad2Dree));//yawmpu1U_Print_float(USART1,float(heading*Rad2Dree));
2023/11/17 23:54:07 3.08MB STM32F1 MPU6050 MPU9250 KALMAN
1
PID算法程序基于四轴飞行器CPU:STM32F103CB2.4G:NRF24L01电子罗盘:HMC5883陀螺仪+加速度计:MPU-6050固定的传感器通讯格式为:0X88+0XA1+0X1D+ACCXYZ+GYROXYZ+MAGXYZ+ANGLEROLLPITCHYAW+cyc_time+0x00+0x00+0x00注意,所有数据位int16格式,angle飞控端为float,发送时乘以100,上位机以int16格式接收,显示时再除以100自定义通讯格式为:0x88+自定义功能字如0xf1+lengh+data
2023/10/30 6:18:17 746KB 四轴飞控源码 直接可用
1
对于vbvb.netc#或者c来说,单精度浮点数在内存中占用4个字节,本身就是以IEEE754的标准格式来存储的。
所以当我们需要用到的时候,其实并不需要自己去转换,直接以内存指针的方式,将内存中的数据以我们需要的方式读出来即可。
这里利用了API函数CopyMemory和varPtr函数,在VB中对IEEE754和single之间进行转换。
也可以用于vb.net等其他语言。
对于做modbus通讯的朋友会有帮助。
2023/10/5 15:17:46 7KB IEEE754 CopyMemory modbus
1
tcp\ip网络通讯(发送和接收),Modbustcp\ip(int,short,float数据寄存器读写),客户端。
使用Demo,源码...
2023/10/3 7:29:50 unknown vs2010 TCP\IP通讯
1
共 25 条记录 首页 上一页 下一页 尾页
在日常工作中,钉钉打卡成了我生活中不可或缺的一部分。然而,有时候这个看似简单的任务却给我带来了不少烦恼。 每天早晚,我总是得牢记打开钉钉应用,点击"工作台",再找到"考勤打卡"进行签到。有时候因为工作忙碌,会忘记打卡,导致考勤异常,影响当月的工作评价。而且,由于我使用的是苹果手机,有时候系统更新后,钉钉的某些功能会出现异常,使得打卡变得更加麻烦。 另外,我的家人使用的是安卓手机,他们也经常抱怨钉钉打卡的繁琐。尤其是对于那些不太熟悉手机操作的长辈来说,每次打卡都是一次挑战。他们总是担心自己会操作失误,导致打卡失败。 为了解决这些烦恼,我开始思考是否可以通过编写一个全自动化脚本来实现钉钉打卡。经过一段时间的摸索和学习,我终于成功编写出了一个适用于苹果和安卓系统的钉钉打卡脚本。
2024-04-09 15:03 15KB 钉钉 钉钉打卡