Grove GPS test
Compilation error: TinyGPS++.h: No such file or directory Congratulations on getting a fully functioning satellite tracking system running on your Wio Terminal. You have officially successfully set up a portable…
Grove RTC test
#include <Wire.h> #include <TFT_eSPI.h> #include "DS1307.h" TFT_eSPI tft = TFT_eSPI(); DS1307 clock; void setup() { tft.begin(); tft.setRotation(3); tft.fillScreen(TFT_BLACK); clock.begin(); // FORCE START: This kicks the hardware crystal into action clock.startClock();…
Wio Terminal
I haven’t touched my Wio Terminal for a long time, and I need to remind myself how to program it. Here’s s simple test program which I have uploaded using…
NetworkCamera
#pragma once #include <iostream> #include <string> #include <thread> #include <mutex> #include <vector> #include <winsock2.h> #include <ws2tcpip.h> #include <opencv2/opencv.hpp> // Ensure Windows socket libraries are linked #pragma comment(lib, "Ws2_32.lib") class NetworkCamera…
HQ Camera (IMX477) in C++
sudo apt update sudo apt install libcamera-dev pkg-config cmake Build-essential cmake_minimum_required(VERSION 3.16) project(HQCameraApp CXX) set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) # Find libcamera using pkg-config find_package(PkgConfig REQUIRED) pkg_check_modules(LIBCAMERA REQUIRED libcamera) add_executable(hq_camera_test main.cpp)…
Windows change UEFI settings
To change UEFI settings in Windows, go to Settings > System > Recovery > Advanced startup and click Restart now. Upon reboot, select Troubleshoot > Advanced options > UEFI Firmware…
enum class for bit flags
enum class as Bit Flags Enable Bitwise Operators Returning Combined Problems
Changing server domain name
Today I find myself having to change the domain name of my server. Here are the steps, though the order can be shuffled. File names on the server In case…
>>> What is in my M5?
Another useful thing. (May be useful to prevent a situation where we can handle control C characters in our own code and get stuck with no way back to REPL.…