Summary of C++ Interview Knowledge Points

Summary of C++ Interview Knowledge Points

Basic Concepts of Program Design 1、int i=1; void main(){ inti=i; //i is an undefined value } 2、Type Conversion C++ defines a set of standard conversions between built-in type objects: If one operand’s type is long double, the other operand will be converted to long double If neither is long double, if one is double, the … Read more

Using Timer Interrupts to Implement Breathing Light Effect with CC2530

Using Timer Interrupts to Implement Breathing Light Effect with CC2530

Introduction Today, we will not cover the Zigbee protocol, but rather some operations of the timer in the CC2530 microcontroller. This article uses 8-bit Timer 3 for experimentation, and other timers can be similarly applied. Through this article: You will learn some basic knowledge about timers. You will see configuration instructions for some timer registers. … Read more

IIC Communication Interface Protocol – Layered Architecture Design Simulation

IIC Communication Interface Protocol - Layered Architecture Design Simulation

Regarding the idea of layered design, a detailed design process was explained in a previous article titled “Embedded Hardware Communication Interface Protocol-SPI (Part 2) Layered Architecture Design Simulation Interface” when discussing SPI interface design, so I won’t elaborate further here. Now, using the BSP layer design approach of SPI as a reference, we will use … Read more

Implementing a DAC0832 to Output a Sawtooth Wave

Implementing a DAC0832 to Output a Sawtooth Wave

Implementing a DAC0832 to Output a Sawtooth Wave – Understanding Digital to Analog Conversion from Scratch Today we will implement an interesting case: using the DAC0832 to output a sawtooth wave. Through this case, not only will we learn the basic principles of DACs, but we will also master the methods for waveform generation. Introduction … Read more

Introduction to Assembly Language: A Machine-Oriented Programming Language

Introduction to Assembly Language: A Machine-Oriented Programming Language

Assembly language is a low-level language used for electronic computers, microprocessors, microcontrollers, or other programmable devices, also known as symbolic language. In assembly language, mnemonics replace the operation codes of machine instructions, and address symbols or labels replace the addresses of instructions or operands. Assembly language corresponds to different machine language instruction sets on different … Read more

Differences Between Embedded Programming and PC Programming

Differences Between Embedded Programming and PC Programming

In our country, very few friends in embedded programming have graduated from formal computer science programs; most come from automatic control or electronics-related majors. These individuals have strong practical experience but lack theoretical knowledge. A large portion of those who graduated from computer science programs tend to work on online games or web pages, higher-level … Read more

Integrating Embedded Programming and PC Programming Concepts

Integrating Embedded Programming and PC Programming Concepts

Scan to FollowLearn Embedded Together, learn and grow together The first step is to look at embedded issues from the perspective of PC programming; The second step is to learn the embedded programming mindset; The third step is to combine PC and embedded thinking and apply it to real projects. Many friends transition from PC … Read more

Analysis of Embedded Programming vs PC Programming

Analysis of Embedded Programming vs PC Programming

In China, very few friends in embedded programming are formally graduated from computer science majors; most come from automation or electronics-related fields. These individuals have rich practical experience but lack theoretical knowledge; a large portion of those who graduated from computer science end up working on online games or web applications that are independent of … Read more

Differences Between Embedded Programming and PC Programming

Differences Between Embedded Programming and PC Programming

Advertisement(Lichuang Mall is giving out benefits again! Get free coupons for Ruby and Shengrongda!) Seeing embedded issues from the perspective of PC programming is the first step; learning to use embedded programming thinking is the second step; combining PC and embedded thinking together and applying it to practical projects is the third step. Some friends … Read more

C++ and Hardware Interfaces: Embedded Programming and Communication

C++ and Hardware Interfaces: Embedded Programming and Communication

C++ and Hardware Interfaces: Embedded Programming and Communication Today, I, Xiao Rui, will take you on a hardcore journey of learning C++, exploring how C++ can directly “communicate” with hardware.Embedded programming and hardware communication is a very interesting yet slightly complex application scenario of C++. Whether it’s lighting up an LED or driving an industrial … Read more