UiFlow2 AtomS3U Block Averager
""" 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: ''…
UiFlow2 AtomS3U Custom Blocks
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,…
UiFlow2 AtomS3U function example
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 -…
UiFlow2 AtomS3U JSON example
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…
UiFlow2 AtomS3U Button example
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…
UiFlow2 AtomS3U RGB example
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,…
CSE2100 gone into bootloader mode
I ran my software, now the CSE2100 is stuck in bootloader mode. Things said succeeded but the turret didn’t move. And now the device is stuck in bootloader mode.
E1696: Cannot open source file “xxx.h”
Problem I just switched from Debug set up to Release set up in MSVC and many settings have to be redone. This file is for an external library and so…
Target Machine
Problem I’m not sure what problem this fixed, … Solution … but setting the taget machine type to x64 helped something, as my third party DLL was x64!