Communication with Yu Electric Flow Meter via Modbus RTU

Communication with Yu Electric Flow Meter via Modbus RTU

While organizing examples, I found a communication case for the Yu Electric flow meter. The model of the flow meter was not noted, making it impossible to determine its specific model. I can only organize and record this; those who encounter it can refer to it. It seems I need to be more careful in … Read more

JTAG Debugging – Halt and Step Execution

JTAG Debugging - Halt and Step Execution

Through JTAG Debugging – Introduction to DAP, a DAP consists of a DP and an AP, where the AP serves as a window to access the resources behind it. In JTAG debugging, Halt and Step Execution actually control the resources of the CPU behind the AP.In STM32F4xx, the Cortex-M4 registers are controlled via AHB-AP, allowing … Read more

Basics of DFT: JTAG

Basics of DFT: JTAG

JTAG: The Core Interface for Chip Testability Design In the field of integrated circuit (IC) design, Design for Testability (DFT) is a key technology to ensure high reliability and yield in chip production. JTAG (Joint Test Action Group), as a standard test access interface, has become an important means for modern chips to implement DFT … Read more

Setting the Default Startup Project in CMake for Visual Studio: No Longer ALL_BUILD

Setting the Default Startup Project in CMake for Visual Studio: No Longer ALL_BUILD

The default startup project generated by <span>cmake</span> is <span>ALL_BUILD</span>. We want to specify the default startup project so that we don’t have to set it every time we open the <span>.sln</span> file. This was not possible before <span>cmake 3.6</span>. After <span>cmake 3.6</span>, it can be accomplished by setting the <span>VS_STARTUP_PROJECT</span> property. 1. Core Setting Statement … Read more

CMake Command Quick Reference: Comprehensive Overview of Common Commands

CMake Command Quick Reference: Comprehensive Overview of Common Commands

Click the blue text to follow the author 1. Introduction CMake is a cross-platform open-source build system generator. It does not directly build software but generates a build system for a specific platform based on the descriptions in the <span>CMakeLists.txt</span> file. The role of CMake is to decouple the build process from the compiler, operating … Read more

A Beginner’s Guide to Efficiently Using Makefile in Python Projects

A Beginner's Guide to Efficiently Using Makefile in Python Projects

Have you ever had to type a long string of commands just to run a test? Or do you find yourself manually executing several steps every time you start a project? If so, Makefile might be the savior you need. To be honest, I started using Makefile in Python projects because I had used it … Read more

GCC Certification for Carpet Burning Tests in the U.S.: Compliance with 16 CFR 1630 and 16 CFR 1631

GCC Certification for Carpet Burning Tests in the U.S.: Compliance with 16 CFR 1630 and 16 CFR 1631

Carpets are floor coverings made from natural fibers such as cotton, linen, wool, silk, and grass yarns, or from synthetic fibers, woven or tufted by hand or machine. They are one of the traditional craft art forms with a long history worldwide. Carpets are used in various settings including homes, hotels, conference rooms, entertainment venues, … Read more

Installing GCC from Source

Installing GCC from Source

My laptop is running CentOS 7 with a version of GCC installed via yum, but this version is too old, so I need to install a newer version of GCC. 1. First, download from the internethttp://mirror.hust.edu.cn/gnu/gcc/ Find the appropriate version and download it. 2. Extract the compressed package # cd /usr/local/# tar -zxvf gcc-6.4.0.tar.gz 3. … Read more

Drawing Regression Analysis Graphs with Python

Drawing Regression Analysis Graphs with Python

Author: Eighth Galaxy – Gugu Email: [email protected] Import Libraries import numpy as np import xarray as xr #import cmaps import pandas as pd #from eofs.standard import Eof import matplotlib.pyplot as plt from scipy import signal from sklearn import preprocessing #from scipy.stats import pearsonr from scipy.stats import linregress import datetime as dt import cartopy.crs as ccrs … Read more

PyTelescope: Create Your Remote Stargazing Tool with Python!

PyTelescope: Create Your Remote Stargazing Tool with Python!

▼ Click the card below to follow me ▲ Click the card above to follow me When it comes to stargazing, many people think of expensive professional equipment and complex operations. But now, I want to share a super cool Python project – PyTelescope. This is a magical tool that allows you to easily control … Read more