修改 mixgo_sant

This commit is contained in:
Irene-Maxine
2025-01-09 12:42:14 +08:00
parent a9d4e9b83e
commit 6957182e71
30 changed files with 1310 additions and 309 deletions

View File

@@ -0,0 +1,23 @@
"""
MINI G2 -MixGo MINI EXT G2
MicroPython library for the MINI G2 (Expansion board for MixGo MINI)
=======================================================
@dahanzimin From the Mixly Team
"""
import gc
from machine import Pin, SoftI2C
'''i2c-extboard'''
ext_i2c = SoftI2C(scl=Pin(7), sda=Pin(8), freq=400000)
'''RFID_Sensor'''
try :
import rc522
ext_rfid = rc522.RC522(ext_i2c)
except Exception as e:
print("Warning: Failed to communicate with SI522A (RFID) or",e)
'''Reclaim memory'''
gc.collect()

View File

@@ -1,8 +1,7 @@
{
"board": {
"元控青春": "micropython:esp32s3:mixgo_nova",
"元控": "micropython:esp32s3:mixgo_zero",
"MixGo Sant": "micropython:esp32c3:mixgo_sant"
"元控自强": "micropython:esp32s3:mixgo_sant"
},
"language": "MicroPython",
"burn": {