A Comprehensive Guide to the Modbus Protocol

Hello everyone, welcome to <span>Lixin Embedded</span>. In the field of industrial automation, Modbus is undoubtedly a name that cannot be ignored. As a communication protocol that originated in the late 1970s, it has stood the test of time, quietly supporting the interconnectivity of countless factories and devices. Today, let’s discuss Modbus, the veteran protocol of … Read more

FPGA Hardware Design (Part 7) – USB to JTAG Circuit

Introduction: JTAG stands for Joint Test Action Group, which is commonly referred to in the IEEE standard 1149.1 as the Standard Test Access Port and Boundary Scan Architecture. Its functionality is powerful, but for engineers engaged in embedded development, the most frequently used feature is programming chips, which typically requires a dedicated emulator. This article … Read more

Implementation Code for One-Click Conversion Between MDB and GDB in ArcGIS

#-*- coding: utf-8 -*- # This script can be used for conversion between GDB and MDB import arcpy import os print("Please enter the database") SRSJK = r'D:\工作\数据处理\20250616\Project360702.gdb' clean_path = SRSJK.rstrip(os.sep) print(clean_path) srsjkhzm = os.path.splitext(clean_path)[1] print("Database entered, the type of database you entered is " + srsjkhzm) print("Please enter the folder for the output database") SCSJKLJ … Read more

Method for Batch Converting Tables in GDB to Points in ArcGIS

1. Background and Significance In our daily work, we sometimes need to batch convert database tables into points. ArcGIS does not provide a direct tool for this, so we need to link several tools together in the model builder to create a new tool. Please continue reading. 2. General Approach Use the “Iterate Tables” iterator … Read more

Mbed Development Learning Notes – Part Six

Hello everyone! This is a collection of notes on embedded system development! Recently, the university has entered the final exam week, and suddenly various work-related tasks have come up, sometimes so busy that I can’t even have dinner, and can only update the public account intermittently. I believe everyone has been busy like me lately~ … Read more

When CMake Meets Python

CMake is not unfamiliar to many who are familiar with C and C++. Today, we will look at a somewhat unusual application scenario: using CMake to manage and run Python applications. This approach can be effective in certain situations, such as when code generation is done in C++, and tool scripts are written in Python, … Read more

Makefile Basics + Practical Application: A One-Stop Guide to Automated Builds

In a makefile, we can generate specified target files from our source code based on a series of rules defined in the makefile. This helps us automate various operations such as compiling and packaging programs. 1 Basic Principles of Makefile: Any version of the shell will include the make command. When we execute the make … Read more

Introduction to Makefile Basics: From Compilation Novice to Automation Build Expert

Introduction: Why Do We Need Makefile? In Windows IDEs, we can simply click the “Build” button to complete the compilation, but behind large projects often lies complex build logic. Makefile is the core tool for achieving automated builds in Linux/Unix environments, acting like a precise conductor that coordinates: Optimization of compilation order Incremental compilation (only … Read more

Using Makefile to Depend on Other Makefiles in Linux

Hello everyone, I am the Intelligence Guy~ <span>$(MAKE) -C is very useful in building multiple packages, today I will detail its usage:</span> <span><span>1. Usage of $(MAKE) -C</span></span> <span>$(MAKE) -C</span> is a commonly used command combination in Makefile, which allows you to execute another Makefile in a specified directory. This is very useful when building complex … Read more

Comprehensive Guide to GCC Certification Process for Toy Products in the USA

▶ What is GCC Certification: GCC, or General Certificate of Conformity, is an important quality control measure by the U.S. Consumer Product Safety Commission (CPSC) for products entering the U.S. market. It aims to ensure that products sold in the U.S. comply with federal safety standards and regulations. Since joining the U.S. Customs, the CPSC … Read more