matrixportal code wifi & BLE
by Rebtop on Fri Apr 29, 2022 2:47 pm
I am using sample code from ScoreBoard Matrixportal.
I want to change the input from WIFI to BLE
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
I am getting:
Traceback (most recent call last):
File "code.py", line 60, in <module>
File "adafruit_matrixportal/matrixportal.py", line 110, in __init__
File "adafruit_matrixportal/network.py", line 66, in __init__
File "adafruit_portalbase/wifi_coprocessor.py", line 57, in __init__
ValueError: ESP_BUSY in use
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
This is the code causing the conflict.
from adafruit_matrixportal.matrixportal import MatrixPortal
# --- Display setup ---
matrixportal = MatrixPortal(status_neopixel=board.NEOPIXEL, debug=False) >>>>> line 60
# ble
from adafruit_ble import BLERadio
from adafruit_ble.advertising.standard import ProvideServicesAdvertisement
from adafruit_ble.services.nordic import UARTService
from adafruit_airlift.esp32 import ESP32
esp32 = ESP32() # DEFAULT
adapter = esp32.start_bluetooth()
ble = BLERadio(adapter)
uart = UARTService()
advertisement = ProvideServicesAdvertisement(uart)
Wonderful support when i needed it.
I cannot get by this issue now.
Bob