M5Stack AtomS3U without UiFlow
After downloading a micro-python file from here https://micropython.org/download/ESP32_GENERIC_S3 and renaming it and placing it on the Desktop as In a BAT file or using CMD Now open in PuTTY and…
AtomS3U lamp test
Here’s a minimal test program in micropython And in C for Arduino IDE
AtomS3U with IO commands
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):…
Using UIFlow2 to program an AtomS3U
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.
Adding a New Website to Apache on Ubuntu
sudo mkdir -p /var/www/site sudo chown -R $USER:$USER /var/www/site sudo chmod -R 755 /var/www/site sudo nano /etc/apache2/sites-available/site.conf <VirtualHost *:80> ServerName example.com ServerAlias www.example.com DocumentRoot /var/www/site <Directory /var/www/site> Options Indexes FollowSymLinks…
ESP32 as Emulator – ChatGPT help
sys.stdin.buffer # incoming bytessys.stdout.buffer # outgoing bytes import sys import select import time # Poll stdin without blocking poll = select.poll() poll.register(sys.stdin, select.POLLIN) def handle_command(cmd_bytes): """ Replace this function with…
UiFlow2 AtomS3U UART
This little sample program demonstrates sending and receiving UART data on the AtomS3U Grove connector by looping back the two data pins, configured and transmit and receive pins. To demonstrate…
UiFlow2 AtomS3U ESPNow
A bit of explanation here. Firstly, this example program uses my device MAC addresses. If anyone else wants to run it, they will need to use their own MAC addresses.…
UiFlow2 AtomS3U GetMacAddress
import os, sys, io import M5 from M5 import * from m5espnow import M5ESPNow import time espnow_0 = None mac = None str2 = None def setup(): global espnow_0, mac,…