UiFlow2 AtomS3U UART
To demonstThis 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…
To demonstThis 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…
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.…
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,…
""" file AVERAGER time 2024-11-05 author Ivan email ivan@spamhereplease.com license MIT License """ class AVERAGER: """ note: en: '' details: color: '#ff0000' link: '' image: '' category: Custom example: ''…
import os, sys, io import M5 from M5 import * from squarer import squarer from AVERAGER import AVERAGER import time SQUARER = None averager_0 = None def setup(): global SQUARER,…
import os, sys, io import M5 from M5 import * n = None # Describe this function... def factorial(n): if n == 0: return 1 return n * factorial(n -…
import os, sys, io import M5 from M5 import * import json person = None def setup(): global person M5.begin() person = json.loads('{"age":22, "name":"ivan"}') print(person) print(json.dumps(person)) def loop(): global person…
import os, sys, io import M5 from M5 import * from hardware import * rgb = None color = None def btnA_wasPressed_event(state): global rgb, color color = color + 1…
import os, sys, io import M5 from M5 import * from hardware import * import time rgb = None nColour = None x = None def btnA_wasClicked_event(state): global rgb, nColour,…