MSP430 IAR V6.1 V6.2 V6.3 V6.4 破解 注册机,带破解视频,亲测可用
标签: MSP430 IAR V6.1 V6.2 V6.3 V6.4 破解 注册机 带破解视频 亲测可用
上传时间: 2017-06-11
上传用户:hull021
#include "iostream" using namespace std; class Matrix { private: double** A; //矩阵A double *b; //向量b public: int size; Matrix(int ); ~Matrix(); friend double* Dooli(Matrix& ); void Input(); void Disp(); }; Matrix::Matrix(int x) { size=x; //为向量b分配空间并初始化为0 b=new double [x]; for(int j=0;j<x;j++) b[j]=0; //为向量A分配空间并初始化为0 A=new double* [x]; for(int i=0;i<x;i++) A[i]=new double [x]; for(int m=0;m<x;m++) for(int n=0;n<x;n++) A[m][n]=0; } Matrix::~Matrix() { cout<<"正在析构中~~~~"<<endl; delete b; for(int i=0;i<size;i++) delete A[i]; delete A; } void Matrix::Disp() { for(int i=0;i<size;i++) { for(int j=0;j<size;j++) cout<<A[i][j]<<" "; cout<<endl; } } void Matrix::Input() { cout<<"请输入A:"<<endl; for(int i=0;i<size;i++) for(int j=0;j<size;j++){ cout<<"第"<<i+1<<"行"<<"第"<<j+1<<"列:"<<endl; cin>>A[i][j]; } cout<<"请输入b:"<<endl; for(int j=0;j<size;j++){ cout<<"第"<<j+1<<"个:"<<endl; cin>>b[j]; } } double* Dooli(Matrix& A) { double *Xn=new double [A.size]; Matrix L(A.size),U(A.size); //分别求得U,L的第一行与第一列 for(int i=0;i<A.size;i++) U.A[0][i]=A.A[0][i]; for(int j=1;j<A.size;j++) L.A[j][0]=A.A[j][0]/U.A[0][0]; //分别求得U,L的第r行,第r列 double temp1=0,temp2=0; for(int r=1;r<A.size;r++){ //U for(int i=r;i<A.size;i++){ for(int k=0;k<r-1;k++) temp1=temp1+L.A[r][k]*U.A[k][i]; U.A[r][i]=A.A[r][i]-temp1; } //L for(int i=r+1;i<A.size;i++){ for(int k=0;k<r-1;k++) temp2=temp2+L.A[i][k]*U.A[k][r]; L.A[i][r]=(A.A[i][r]-temp2)/U.A[r][r]; } } cout<<"计算U得:"<<endl; U.Disp(); cout<<"计算L的:"<<endl; L.Disp(); double *Y=new double [A.size]; Y[0]=A.b[0]; for(int i=1;i<A.size;i++ ){ double temp3=0; for(int k=0;k<i-1;k++) temp3=temp3+L.A[i][k]*Y[k]; Y[i]=A.b[i]-temp3; } Xn[A.size-1]=Y[A.size-1]/U.A[A.size-1][A.size-1]; for(int i=A.size-1;i>=0;i--){ double temp4=0; for(int k=i+1;k<A.size;k++) temp4=temp4+U.A[i][k]*Xn[k]; Xn[i]=(Y[i]-temp4)/U.A[i][i]; } return Xn; } int main() { Matrix B(4); B.Input(); double *X; X=Dooli(B); cout<<"~~~~解得:"<<endl; for(int i=0;i<B.size;i++) cout<<"X["<<i<<"]:"<<X[i]<<" "; cout<<endl<<"呵呵呵呵呵"; return 0; }
标签: 道理特分解法
上传时间: 2018-05-20
上传用户:Aa123456789
c/c++; 例:“..23.4..5Ab--b.-70ss12as34” ==>> 23.4,5.0,-70,12,34
上传时间: 2019-01-02
上传用户:yual
第 1 章 计算机科学:将抽象机械化........... 11.1 本书主要内容 ........................................... 31.1.1 数据模型 ....................................... 31.1.2 数据结构 ....................................... 41.1.3 算法 ............................................... 41.1.4 基本思路 ....................................... 41.2 本章主要内容 ........................................... 41.3 数据模型 ................................................... 51.3.1 编程语言数据模型........................ 51.3.2 系统软件的数据模型.................... 61.3.3 电路的数据模型 ........................... 71.3.4 习题 ............................................. 101.4 C语言数据模型....................................... 101.4.1 C语言类型系统........................... 111.4.2 函数 ............................................. 141.4.3 C语言数据模型中的操作........... 141.4.4 数据对象的创建和销毁.............. 141.4.5 数据的访问和修改...................... 151.4.6 数据的组合 ................................. 151.4.7 习题 ............................................. 161.5 算法和程序设计 ..................................... 161.5.1 软件的创建 ................................. 161.5.2 编程风格 ..................................... 171.6 本书中用到的一些C语言约定 ............... 171.7 小结 ......................................................... 191.8 参考文献 ................................................. 19第 2 章 迭代、归纳和递归........................... 202.1 本章主要内容 ......................................... 212.2 迭代 ......................................................... 222.2.1 排序 ............................................. 222.2.2 选择排序:一种迭代排序算法 ............................................. 232.2.3 习题 ............................................. 272.3 归纳证明 ................................................. 272.3.1 归纳证明为何有效...................... 292.3.2 检错码 ......................................... 302.3.3 习题............................................. 332.4 完全归纳 ................................................. 352.4.1 使用多个依据情况进行归纳...... 352.4.2 验证完全归纳 ............................. 362.4.3 算术表达式的规范形式 ............. 362.4.4 习题............................................. 402.5 证明程序的属性 ..................................... 412.5.1 循环不变式 ................................. 412.5.2 while循环的循环不变式 .......... 452.5.3 习题............................................. 462.6 递归定义 ................................................. 472.6.1 表达式 ......................................... 492.6.2 平衡圆括号 ................................. 502.6.3 习题............................................. 542.7 递归函数 ................................................. 552.8 归并排序:递归的排序算法 ................. 592.8.1 合并............................................. 592.8.2 分割表 ......................................... 622.8.3 排序算法 ..................................... 632.8.4 完整的程序 ................................. 652.8.5 习题............................................. 662.9 证明递归程序的属性 ............................. 672.10 小结....................................................... 692.11 参考文献 ............................................... 69第 3 章 程序的运行时间............................... 70。。。
标签: 计算机科学
上传时间: 2021-11-28
上传用户:slq1234567890
高通(Qualcomm)蓝牙芯片QCC5151_硬件设计详细指导书(官方内部培训手册)共52页其内容是针对硬件设计、部分重要元器件选择(ESD,Filter)及走线注意事项的详细说明。2 Power management 2.1 SMPS 2.1.1 Components specification 2.1.2 Input power supply selection 2.1.3 Minimize SMPS EMI emissions 2.1.4 Internal LDOs and digital core decoupling 2.1.5 Powering external components 2.2 Charger 2.2.1 Charger connections.2.2.2 General charger operation2.2.3 Temperature measurement during charging 2.3 SYS_CTRL 3 Bluetooth radio3.1 RF PSU component choice 3.2 RF band-pass filter3.3 Layout (天线 走线的注意事项)4 Audio4.1 Audio bypass capacitors 4.2 Earphone speaker output4.3 Line/Mic input 4.4 Headphone output optimizition5 LED pads 5.1 LED driver 5.2 Digital/Button input 5.3 Analog input5.4 Disabled 6 Reset pin (Reset#)7 QSPIinterface 8 USB interfaces 8.1 USB device port8.1.1 USB connections8.1.2 Layout notes8.1.3 USB charger detection
上传时间: 2022-01-24
上传用户:XuVshu
ADS8329 Verilog fpga 驱动源码,2.7V 至 5.5V 16 位 1MSPS 串行模数转换器 ADC芯片ADS8329数据采集的verilog代码,已经用在工程中,可以做为你的设计参考。( input clock, input timer_clk_r, input reset, output reg sample_over, output reg ad_convn, input ad_eocn, output reg ad_csn, output reg ad_clk, input ad_dout, output reg ad_din, output reg [15:0] ad_data_lock);reg [15:0] ad_data_old;reg [15:0] ad_data_new; reg [19:0] ad_data_temp; reg [15:0] ad_data;reg [4:0] ad_data_cnt;reg [4:0] ad_spi_cnt; reg [5:0] time_dly_cnt; parameter [3:0] state_mac_IDLE = 0, state_mac_0 = 1, state_mac_1 = 2, state_mac_2 = 3, state_mac_3 = 4, state_mac_4 = 5, state_mac_5 = 6, state_mac_6 = 7, state_mac_7 = 8, state_mac_8 = 9, state_mac_9 = 10, state_mac_10 = 11, state_mac_11 = 12, state_mac_12 = 13, state_mac_13 = 14, state_mac_14 = 15; reg [3:0] state_curr;reg [3:0] state_next;
上传时间: 2022-01-30
上传用户:1208020161
STM32L053C8T6数据手册Features • Ultra-low-power platform – 1.65 V to 3.6 V power supply – -40 to 125 °C temperature range – 0.27 µA Standby mode (2 wakeup pins) – 0.4 µA Stop mode (16 wakeup lines) – 0.8 µA Stop mode + RTC + 8 KB RAM retention – 139 µA/MHz Run mode at 32 MHz – 3.5 µs wakeup time (from RAM) – 5 µs wakeup time (from Flash) • Core: ARM® 32-bit Cortex®-M0+ with MPU – From 32 kHz up to 32 MHz max. – 0.95 DMIPS/MHz • Reset and supply management – Ultra-safe, low-power BOR (brownout reset) with 5 selectable thresholds – Ultralow power POR/PDR – Programmable voltage detector (PVD) • Clock sources – 1 to 25 MHz crystal oscillator – 32 kHz oscillator for RTC with calibration – High speed internal 16 MHz factory-trimmed RC (+/- 1%) – Internal low-power 37 kHz RC – Internal multispeed low-power 65 kHz to 4.2 MHz RC – PLL for CPU clock • Pre-programmed bootloader – USART, SPI supported • Development support – Serial wire debug supported • Up to 51 fast I/Os (45 I/Os 5V tolerant) • Memories – Up to 64 KB Flash with ECC – 8KB RAM – 2 KB of data EEPROM with ECC – 20-byte backup register
标签: stm32l053c8t6
上传时间: 2022-02-06
上传用户:
功能介绍:1.采用AT24C02芯片可以实现存储的密码掉电保存。密码为6位,只有在开锁时密码可更改,更改时要输入两遍确认;2.采用矩阵按键输入、1602液晶显示、继电器模拟开锁,有开锁指示灯。继电器有常开常闭触点可外接电磁锁等负载;3.输入密码错误会提示错误次数,当次数大于3时,密码锁定;4.忘记密码时可按密码还原键,默认密码111111;矩阵键盘按键说明 1 2 3 确认键 4 5 6 手动关闭锁 7 8 9 修改密码 还原 0 删除键 X原理图:仿真图:文件截图:
上传时间: 2022-03-20
上传用户:
产品特性介绍AFE 特性■ 集成硬件过充电保护功能 - 独立PF管脚输出低电平■ 集成硬件放电短路保护功能■ 集成平衡开关■ 集成充电器检测功能■ 集成负载检测功能■ 集成充放电状态检测功能■ 集成小电流唤醒功能■ 集成WatchDog/Reset功能■ 集成Alarm功能■ 集成负端NMOS驱动(放电PWM调控)■ 支持电芯乱序上电■ 2通道温度采集■ 12-bit VADC电压采集■ 13-bit Ʃ-∆ CADC电流采集■ 集成LDO模块:3.3V/25mA@MAX■ 集成TWI通讯(CRC-8,10KHz~400KHz)■ 低功耗模式 - 正常模式≤70uA@25℃ - PowerDown模式≤1uA@25℃■ 工作电压 - 8V~50V(VBAT端口)MCU 特性■ 基于8051指令流水线结构的8位单片机 - CPU机器周期:1个振荡周期■ Flash ROM:64K字节■ RAM:内部256字节,外部2816字节■ 类EEPROM:最大4096字节(代码选项可选)■ 内部RC振荡器:24MHz(±1%)/128K(±10%)■ I/O内建上拉电阻(30kΩ)■ 1个16位定时器/计数器T3■ 3个16位PCA0、PCA1、PCA2各含2个比较/捕捉单元■ 3路12位PWM定时器■ SPI接口(主从模式)■ TWI接口(主从模式)■ 内建数字逻辑可配置模块(LCM)■ 3路增强型UART(3V/5V通讯)(自带波特率的uart通讯)■ 11通道12位模数转换器(ADC)■ 内建CRC校验模块,校验空间大小可选■ 看门狗定时器(WDT)■ 预热计数器■ 中断源 - 定时器3,PCA0-2,外部中断1-2,外部中断4:6输入 - ADC,EUART,SPI,PWM,SCM,CRC,TWI,LPD■ 低功耗工作模式:空闲模式/掉电模式■ 工作电压:VDD = 2.7V - 5.5V■ 封装: - LQFP 64L
上传时间: 2022-03-24
上传用户:qingfengchizhu
1. Preface2. The concept2.2. Prescience 2.3. Reading guide 2.4. Abbreviations 2.5. Version management3. Hardware3.2. ESP32 3.3.2. Hardware schema 3.3.3. DHT22 and level shifter 3.3.4. Geekcreit® ESP32 Development Board4. Software4.2. Installatie van GIT 4.3. Installatation of the ESP32 Core 4.4. Installation of the Xtensa and ESP32 Tools 4.5. Python 4.5.1. Install Python 4.5.2. Installation of pySerial and EspTool 4.6. Test the software installation5. The ESP32 IoT project 5.1.1. WiFi connection 5.1.2. Setup date and time 5.1.3. MQTT connection 5.1.4. Determining temperature and humidity 5.2. IOT_ESP32_Project source6. Test6.2. ESP32, NodeJS, MongoDB en Mosca 6.2.1. Start MongoDB 6.2.2. Start NodeJS Express serve and Mosca broker 6.2.3. Start the ESP32 6.2.4. Start an Chrome browser
上传时间: 2022-04-05
上传用户:kingwide