Coding
Understanding Selection Statements in C Language
Today, let’s talk about the C language. When I first started learning, I was also confused, thinking it seemed simple, but I encountered various problems when using it. After years of trial and error, I would like to share some of my insights with you. Here are examples of using selection statements in C language: … Read more
Introduction to C Language: From Basics to Hello World
Hello everyone, I am Xiaoyu, and today we will discuss the introductory knowledge of the C language, starting with the classic program “Hello, World!”. Although it seems simple, there is a lot of programming knowledge worth exploring behind it. Today, we will start with the most basic syntax, gradually analyzing each line of code, allowing … Read more
Getting Started with Micro:bit and Swift Playgrounds
The Micro:bit Foundation has released the Swift Playgrounds program for Micro:bit, allowing interaction via Bluetooth on iPads. This program helps you learn the basics of coding while enjoying the fun that Micro:bit brings! Instructions: Install the Swift Playgrounds app on your iPad. Requires iOS 11 or higher. Supports iPad Air, Air 2, 5th generation iPad, … Read more
Getting Started with Smart Home Modules After Upgrading My Monitor
I don’t know if my brain was flooded back then, but I bought a cheap 2K curved screen. It looks nice, but writing code on it makes me question my life. During remote work, I finally decided to buy a 4K monitor, and I immediately felt the difference. With the adjustment of the monitor and … Read more
Coding While Parenting: Fun Embedded Hardware Insights from the Playground
Author: Xiaoyu, Typesetting: Xiaoyu WeChat Official Account: Chip Home (ID: chiphome-dy) 01 Coding While Parenting I used to think that after work I had plenty of time, and I could still work for another two or three hours at home, feeling very motivated to learn. But after getting married and having a child, I basically … Read more
Dynamically Loading .out Files in VxWorks
Click “Read the original text” to access more VxWorks resources How to dynamically load .out files under VxWorks, the following is the actual code for reference: //Device.cpp #include "other.h" #ifdef __cplusplus extern "C" { #endif int initDevice(char *arg); #ifdef __cplusplus } #endif int initDevice(char *arg) { printf("%s\n", arg); } The generated .out file needs to … Read more
Building a Portable Linux Computer with Raspberry Pi
Building a palm-sized Linux computer, all it takes is a Raspberry Pi and some components? Yes, you read that right, someone has done it! With a 36-key touch keyboard, a 4.3-inch touch display, and a Linux system, it has all the functionalities and can be held in one hand: With a battery life of up … Read more
5 Great Raspberry Pi Projects for Classroom Demonstrations
1. Minecraft: Pi Source from Raspberry Pi Foundation. CC BY-SA 4.0[1] “Minecraft” is a game that almost every teenager loves, and it successfully captures the attention of young people, becoming one of the games that can inspire creativity among them. This Raspberry Pi version of Minecraft is not just a creative building game, but also … Read more