msp430The LDC1312 and LDC1314 are 2- and 4-Channel, 1• Easy-to-use – minimal configuration required 12-bit inductance to digital converters (LDCs) for • Measure up to 4 sensors with one IC inductive sensing solutions. With multiple Channels • Multiple Channels support environmental and and support for remote sensing, the LDC1312 and aging compensation LDC1314 enable the performance and reliability benefits of inductive sensing to be realized at minimal• Multi-Channel remote sensing provides lowest cost and power. The products are easy to use, onlysystem cost requiring that the sensor frequency be within 1 kHz • Pin-compatible medium and high-resolution and 10 MHz to begin sensing. The wide 1 kHz to 10 options MHz sensor frequency range also enables use of very small PCB coils, further reducing sensing– LDC1312/4: 2/4-Ch 12-bit LDC solution cost and size.– LDC1612/4: 2/4-Ch 28
上传时间: 2016-07-22
上传用户:tongmoonsky
#include "string.h" #include "ctype.h" #include "stdio.h" searCh(Char pd[]) {FILE *fp; int time=0,i=0,j=0,add[80],k=0,m; Char *Ch, str[900]; m=strlen(pd); if((fp=fopen("haha.txt","r"))==NULL) { printf("Cannot open this file\n"); exit(0); } for(;!feof(fp);i++) { str[i]=fgetc(fp); if(tolower(str[i])==tolower(pd[k])) {k++; if(k==m) if(!isalpha(i-m)&&!isalpha((str[i++]=fgetc(fp)))) { time++; add[j]=i-m+1; j++; k=0; } else k=0; } } if(time) { printf("The time is:%d\n",time); printf("The adders is:\n"); for(i=0;i
标签: 查询学会少年宫
上传时间: 2016-12-29
上传用户:767483511
#include "string.h" #include "ctype.h" #include "stdio.h" searCh(Char pd[]) {FILE *fp; int time=0,i=0,j=0,add[80],k=0,m; Char *Ch, str[900]; m=strlen(pd); if((fp=fopen("haha.txt","r"))==NULL) { printf("Cannot open this file\n"); exit(0); } for(;!feof(fp);i++) { str[i]=fgetc(fp); if(tolower(str[i])==tolower(pd[k])) {k++; if(k==m) if(!isalpha(i-m)&&!isalpha((str[i++]=fgetc(fp)))) { time++; add[j]=i-m+1; j++; k=0; } else k=0; } } if(time) { printf("The time is:%d\n",time); printf("The adders is:\n"); for(i=0;i<j;i++) printf("%5d",add[i]); if(i%5==0) printf("\n"); getCh(); fclose(fp); } else printf("Sorry!Cannot find the word(^_^)"); } main() { Char pd[10],Choose='y'; int flag=1; while(flag) {printf("In put the word you want to seqarCh:"); scanf("%s",pd); searCh(strlwr(pd)); printf("\nWould you want to continue?(Y/N):"); getChar(); scanf("%c",&Choose); if((tolower(Choose))=='n') flag=0; else flag=1; } printf("Thanks for your using!Bye-bye!\n"); getCh(); }
标签: 学生专用
上传时间: 2016-12-29
上传用户:767483511
notepad2_4.2.25汉化资源文件 CSDN-tags:notepad2 sChinese 中文rc资源 Notepad2中文资源修改自: http://www.flos-freeware.Ch/zip/notepad2_4.2.25_src.zip\src\Notepad2.rc
上传时间: 2018-09-08
上传用户:xxagri
#include <stdio.h> #include <stdlib.h> #define SMAX 100 typedef struct SPNode { int i,j,v; }SPNode; struct sparmatrix { int rows,cols,terms; SPNode data [SMAX]; }; sparmatrix CreateSparmatrix() { sparmatrix A; printf("\n\t\t请输入稀疏矩阵的行数,列数和非零元素个数(用逗号隔开):"); scanf("%d,%d,%d",&A.cols,&A.terms); for(int n=0;n<=A.terms-1;n++) { printf("\n\t\t输入非零元素值(格式:行号,列号,值):"); scanf("%d,%d,%d",&A.data[n].i,&A.data[n].j,&A.data[n].v); } return A; } void ShowSparmatrix(sparmatrix A) { int k; printf("\n\t\t"); for(int x=0;x<=A.rows-1;x++) { for(int y=0;y<=A.cols-1;y++) { k=0; for(int n=0;n<=A.terms-1;n++) { if((A.data[n].i-1==x)&&(A.data[n].j-1==y)) { printf("%8d",A.data[n].v); k=1; } } if(k==0) printf("%8d",k); } printf("\n\t\t"); } } void sumsparmatrix(sparmatrix A) { SPNode *p; p=(SPNode*)malloc(sizeof(SPNode)); p->v=0; int k; k=0; printf("\n\t\t"); for(int x=0;x<=A.rows-1;x++) { for(int y=0;y<=A.cols-1;y++) { for(int n=0;n<=A.terms;n++) { if((A.data[n].i==x)&&(A.data[n].j==y)&&(x==y)) { p->v=p->v+A.data[n].v; k=1; } } } printf("\n\t\t"); } if(k==1) printf("\n\t\t对角线元素的和::%d\n",p->v); else printf("\n\t\t对角线元素的和为::0"); } int main() { int Ch=1,Choice; struct sparmatrix A; A.terms=0; while(Ch) { printf("\n"); printf("\n\t\t 稀疏矩阵的三元组系统 "); printf("\n\t\t*********************************"); printf("\n\t\t 1------------创建 "); printf("\n\t\t 2------------显示 "); printf("\n\t\t 3------------求对角线元素和"); printf("\n\t\t 4------------返回 "); printf("\n\t\t*********************************"); printf("\n\t\t请选择菜单号(0-3):"); scanf("%d",&Choice); switCh(Choice) { case 1: A=CreateSparmatrix(); break; case 2: ShowSparmatrix(A); break; case 3: SumSparmatrix(A); break; default: system("cls"); printf("\n\t\t输入错误!请重新输入!\n"); break; } if (Choice==1||Choice==2||Choice==3) { printf("\n\t\t"); system("pause"); system("cls"); } else system("cls"); } }
上传时间: 2020-06-11
上传用户:ccccy
道路车辆——电气及电子设备的环境条件和试验
上传时间: 2021-10-25
上传用户:
STM32L475开发板PDF原理图+AD集成3D封装库+主要器件技术手册,集成封装库型号列表如下:Library Component Count : 44Name Description----------------------------------------------------------------------------------------------------ANT-2.4G ANT,2.4G,PCB天线ATK-TEST-1*4-2.54mm 测试点ATK_MODULE 单排母,1*6,2.54mmBEEP 3.3V有源蜂鸣器BUTTON_DIP3 拨动开关SS-12F44C-0402-SMD C-0603-SMD C-CAP-SMD-220uF/10V C-CEP-220uF/16V D-1N4148 Header-1*3-2.54mm 单排针-2.54mmHeader-2*10-2.54mm 双排针-2.54mmHeader-2*2-2.54mm 双排针-2.54mmHeader-2*3-2.54mm 双排针-2.54mmHeader-2*4-2.54mm 双排座-2.54mmIR-LED 1206红外发射管(侧)IR-LF0038GKLL-1 红外接收管SMDJ-MICRO-USB-5S Micro USB 5.9有柱脚长1.25加长针L-0420-4.7uH 电感,4.7uH,3ALCD-TFT-H13TS38A LCD,TFT,1.3'240*240,禹龙LED-0603-RED 发光二极管-红色LED-RGB-1615-0603 RGB,共阳,1615,0603MIC-6022 MICMotor-SMD 电机,SMDPhone-3-M 耳机座,三节R-0402-SMD 贴片电阻R-0805-SMD 贴片电阻RT9193-3.3S-KEY-SMD-324225 KEY,SMD,324225S8050-SMD SD-MICRO-TF SD,MICRO,TFU-AHT10 Sensor,温湿度传感器U-AP3216C Sensor.光照/距离U-AP6181 WIFI Module,SDIOU-ES8388 AUDIO,2-Ch DAC,2-Ch ADCU-ICM-20608 三轴陀螺仪/三轴加速度计,U-L9110S 电机驱动,800mAU-RT9013-3.3 LDO,500mAU-STM32F103C8T6 U-STM32L475VET6 MCU,LQFP100,512K FLASH,128K RAMU-W25Q128 SPI FLASH,16MY-12M-SMD 晶振 - 12M贴片Y-3215-32.768K XTAL,3215,32.768KY-3215-8M XTAL,3215,8MHz
上传时间: 2021-12-15
上传用户:
The PW8205A8TS is the highest performance trenCh N-Ch MOSFETs with extreme high cell density,whiCh provide excellent RDSON and gate Charge for most of the small power switChing and loadswitCh applications. The meet the RoHS and Product requirement with full function reliabilityapproved .
标签: 8205a8
上传时间: 2022-02-14
上传用户:wangshoupeng199
#include "NUC1xx.h"#include "Hal.h"#include "pwm.h"//wait current PWM cycle done, otherwise there maybe short pulse on FETvoid PWM_Stop(U8 Ch){ switCh(Ch) { case PWM_ChANNEL_A: PWMA->u32CNR1 = 0; PWMA->u32CMR1 = 0; while(PWMA->u32PDR1 != 0); break; case PWM_ChANNEL_B: PWMA->u32CNR2 = 0; PWMA->u32CMR2 = 0; while(PWMA->u32PDR2 != 0); break; case PWM_ChANNEL_C: PWMA->u32CNR3 = 0; PWMA->u32CMR3 = 0; while(PWMA->u32PDR3 != 0); break; default: while(1); } PWMA->u32POE &= ~(1<<Ch); PWMA->u32PCR &= ~(1<<(Ch*8));}
上传时间: 2022-06-01
上传用户:kingwide
本文针对国内外组态软件的不足,设计了基于C#的上位机监控组态软件。本软件适用于中小型企业、易于操作并具有一定通用性。从软件结构来看,该软件包括图形界面模块和提供数据服务的数据库模块,重点介绍了图形界面和数据库模块的设计。为达到小巧并且简单易用的目的,将图形界面的功能化到最简,用商用数据库sQL2005作为软件的数据库。本设计将上位机组态软件分成系统开发环境和系统运行环境两部分,给出了软件的总体设计结构图。本文介绍了软件的各子系统的设计,重点阐述了图形界面子系统和数据库子系统.在图形界面子系统中,首先设计了图形界面子系统的总体结构,并介绍了与绘图程序相关的类和函数。结合工艺需要设计了图形绘制工具并实现了图形的动画连接,以链表结构保存组态好的图形文件。图形界面子系统采用基于矢量图的设计方法,实现图形绘制、图形属性设置、图形编辑功能和图形文件存取等功能,解决了图形界面动画连接的几个常见问题,最终实现动画连接。在数据库子系统中,先介绍了生产现场中对变量的分类,并列出存储变量的数据库表的结构,实现了现场检测参数的自动存储,并自动更新数据库.根据vO信号进行数据单元配置,完成数据库的组态,数据库通过数据采集程序对现场数据进行读写,并按照设定好的存储策略将其保存到历史数据库中。数据库子系统实现通信,对象查找,内容修改更新等功能。采用Windows XP作为系统开发环境,Visual Ch作为开发工具.
上传时间: 2022-06-26
上传用户: