How to Connect LoRaWAN Devices to Tencent Cloud IoT Platform

How to Connect LoRaWAN Devices to Tencent Cloud IoT Platform

Click on the above【Tencent Cloud IoT】, follow us and set as a star Building the IoT industry ecosystem together After the release of the TSC_WL_EVK LoRaWAN evaluation board co-branded by Tencent Cloud (STMicroelectronics, Ruixin Hengfang, Shenzhen Zhixin Cloud), many friends have successfully connected the evaluation board to the Tencent Cloud IoT development platform IoT Explorer. … Read more

Getting Started with GDB: A Comprehensive Guide

Getting Started with GDB: A Comprehensive Guide

GDB (GNU Debugger) is a powerful debugging tool, a graphical debugger that is very useful when debugging programs locally, but it is meaningless for debugging on a server. However, GDB can be very useful. Below are the most commonly used GDB features, categorized by starting, running, breakpoints, step debugging, variable viewing, memory checking, and controlling … Read more

Comprehensive Python Installation Guide

Comprehensive Python Installation Guide

1. Introduction: As of January 1, 2020, the official Python website has stopped maintaining the Python 2.7 version. The official recommendation is to use the Python 3.X series (not backward compatible with Python 2.X versions). This has angered many Python 2.X enthusiasts (however, Python 3.X is the trend of the future). I personally recommend using … Read more

Calling Python from C++

Calling Python from C++

Click the above“Mechanical and Electronic Engineering Technology” to follow us 1. Configure Header Files Add the include directory under the Python installation directory to the header file directory. The operation path in Visual Studio 2022 is: Properties –> C/C++ -> General-> Additional Include Directories C:\Users\AppData\Local\Programs\Python\Python39\include 2. Configure lib Directory Add Python39.lib to the compilation link. … Read more

Detailed Explanation of Namespaces in C++

Detailed Explanation of Namespaces in C++

Namespaces in C++ are used to organize an excessive number of classes for easier handling of applications. To access classes within a namespace, we need to use namespacename::classname. We can also use the using keyword, so we don’t have to keep using the full name. In C++, the global namespace is the root namespace. global::std … Read more

C Language Programming Basics

··· Exam Countdown: 36 Days ··· ◣Attention Candidates◥ Scan to Join the Preparation Group for Further Studies Courses/Exam Information/Materials/Benefits, one-on-one Q&A in the group! Key Point 1: Characteristics of C Language Structure 1. A C program consists of functions, and there must be exactly one function named main. 2. A C language function consists of … Read more

Differences Between C and C++ Programming Languages

Differences Between C and C++ Programming Languages

PrefacePREFACE C++ is a programming language that introduces object-oriented mechanisms based on C. C++ inherits most features of C. On one hand, C++ treats C as its subset, allowing compatibility with C; on the other hand, C++ supports object-oriented programming, such as the concept and properties of classes. This is a significant improvement over C. … Read more

NVIDIA Jetson TX2 Beginner’s Guide: An Unfettered Adventure

NVIDIA Jetson TX2 Beginner's Guide: An Unfettered Adventure

Thank you for bringing us various surprises [Preface] In 2017, NVIDIA officially started to sell the new generation of embedded high-performance computing platform, the Jetson TX2. Compared to the previous generation Jetson TX1, it has more than double the energy efficiency and twice the operational performance, allowing it to run more complex neural networks on … Read more

A Small Tip on CMake and QT Development Environment

A Small Tip on CMake and QT Development Environment

OpenCV Version: 4.2.0 OpenCV-Contrib Version: 4.2.0 CMake Version: 3.20.0 When developing image algorithms with OpenCV, being able to display the pixel where the mouse falls on the image can greatly improve development efficiency. I searched this issue and found that most bloggers use callback functions to solve it, which not only adds extra complexity but … Read more

Basic Framework of Linux Kernel Modules

The writing of Linux kernel modules intimidates many people, but it is actually not that difficult or complicated. Here’s a basic framework to help those with a little knowledge get started quickly. 1. Basic Framework (Before Kernel 2.3.13) #include<linux/kernel.h> #include<linux/module.h> int init_module(void){ pr_info("hello module.\n"); return 0; } void cleanup_module(void){ pr_info("hello end.\n"); } MODULE_LICENSE("GPL"); #include<linux/module.h> int … Read more