- 博客(7)
- 收藏
- 关注
原创 LC正弦波发生器
LC正弦波发生器电路设计LC并联谐振电路将一个理想电感和一个理想电容并联,阻抗为Z˙=ZLZCZL+ZC=LCjwL+1jwC\begin{aligned}\dot{Z}&=\frac{Z_LZ_C}{Z_L+Z_C}\\&=\frac{\frac{L}{C}}{jwL+\frac{1}{jwC}}\end{aligned}Z˙=ZL+ZCZLZC=jwL+jwC1CL模长为∣Z˙∣=wL∣1−w2LC∣|\dot{Z}|=\frac{wL}{|
2022-05-12 15:37:56
1343
原创 esp8266 开发环境搭建 以及下载速度过慢的解决方法
esp8266 开发环境搭建 以及下载速度过慢的解决方法Arduino IDE搭建ESP8266开发环境文件下载过慢的解决方法解决arduino IDE安装esp8266开发板速度奇慢的问题首先常规添加http://arduino.esp8266.com/stable/package_esp8266com_index.json到首选项里打开开发板管理器,搜索esp8266下载,然后速度奇慢或者失败解决方法打开压缩包的存放路径,可以在首选项里查到进入\stagin
2021-10-31 23:58:05
1162
翻译 CMake #3 Specify the C++ Standard
CMake #3 Specify the C++ Standard现在来添加一些C++11的特性到我们的项目源文件const double inputValue = std::stod(argv[1]);http://www.cplusplus.com/reference/string/stod/函数原型:double stod (const string& str, size_t* idx = 0);作用:将string类型转换为double类型idx指针的作用是返回第数字
2021-10-30 18:25:51
323
翻译 CMake #2 添加版本号和配置的头文件
CMake #2 添加版本号和配置的头文件https://cmake.org/cmake/help/v3.22/guide/tutorial/A%20Basic%20Starting%20Point.html#adding-a-version-number-and-configured-header-fileWhile we could do this exclusively in the source code, using CMakeLists.txt provides more flexib
2021-10-29 23:29:20
451
原创 Vscode 编写并运行C程序
Vscode 编写并运行C程序https://code.visualstudio.com/docs/languages/cpp关于vscodeC++ is a compiled language meaning your program’s source code must be translated (compiled) before it can be run on your computer.C++是个编译型编程语言,意味着必须将源代码翻译才能被计算机运行VS Code is fir
2021-10-29 13:57:00
479
原创 CMake #1
CMake #1CMake Tutorial:https://cmake.org/cmake/help/v3.22/guide/tutorial/index.html最简单的例子创建CMakeLists.txtcmake_minimum_required(VERSION 3.10)# set the project nameproject(Tutorial)# add the executableadd_executable(Tutorial tutorial.cxx)创建
2021-10-29 13:54:54
80
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人