6 pin AtomS3U header for 2 analogue input
#include <Arduino.h> // Define Header Pin Numbers (GPIO) const int POT_PIN_A = 40; // ADC1 (Safe to use with Wi-Fi) const int POT_PIN_B = 42; // ADC1 (Safe to use…
#include <Arduino.h> // Define Header Pin Numbers (GPIO) const int POT_PIN_A = 40; // ADC1 (Safe to use with Wi-Fi) const int POT_PIN_B = 42; // ADC1 (Safe to use…
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…
#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();…
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…
#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…
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…
Here’s a minimal test program in micropython And in C for Arduino IDE
import sys import time # ---------------------- # Line polling function # ---------------------- def poll_line(buffer, handler, ignore_next_terminator_flag): """ Poll a single byte from USB and handle line input. Args: buffer (bytearray):…
Go to the UIFlow2 website https://uiflow2.m5stack.com I called this program … OutputTest main.py I downloaded the program into the AtomS3U and connected to it with Putty to test it.