When you meet problems using M5Stack, we help you solve it.
@androidspa said in LEGO+ Issue:
I think I may have found a solution for controlling the LEGO+ module.
It turns out that when you install the arduino library for the M5Stack, there is an example to interface the LEGO module. It is located in File>Examples>M5Stack>Modules>LEGO_PLUS>LEGO_test
From that example code the I2C commands can be figured out. I hope this information is useful to anybody facing the same issue as me
as is declared in arduino boards:
but this is temporary solution because hyphens are not valid for arduino.
We waiting for some changes...
"issue" is added: https://github.com/m5stack/M5Stack/issues/41
@pkourany Hi, You don't need to enable the PSRAM to run standard sketches in the Arduino IDE.
The Arduino IDE does not act on a low enough level for it to write directly to the PSRAM... you have to use something else like the ESP Flash Download Tool, which is used for example when you load Micro Python onto the M5Stack. Or the ESP-IDF compiler / flashing program....
Both are discussed here:
The ESP Flash Download Tool is easier to setup and use than the ESP-IDF compiler / flashing program.
All ESP32 applications running on any ESP32 board, including M5Stack are built using esp-idf.
esp-idf is not FreeRTOS. FreeRTOS is included into esp-idf (as a component) and is slightly modified version of the official FreeRTOS (see esp-idf documentation).
The mentioned drivers are not the part of the esp-idf, but are built on-top of esp-idf and uses the esp-idf API.
I am using M5Stack with Windows 10 - 64 bit on 3 different systems and M5Stack works fine on all. No issues.
On one machine originally the drivers did not install correctly - though it wasn't obvious at the time.
To check driver installation worked correctly:
Dis-connect M5Stack from PC if connected. Turn up PC volume. Open device manager. Connect M5Stack using USB cable.... once M5Stack is connected, you should hear a Windows sound - "bing""- and now in the device manager a new item should magically appear called "Ports” Click on it – it should show the Silicon Labs driver listed.
If not , you need to re-install the driver - make sure Python is on your Windows path. You can verify the path is working by opening command prompt and typing - python.
Are these files (below) available after you have Python installed and after you run get.exe ? They should be.
@snmcma 在 Stack is dead :( 中说：
@m5stack 在 Stack is dead :( 中说：
you mean Arduino?
can throw off the firmware file for overwriting in m5? and a screenshot how to write down
you can throw off all the firmware files with the instruction how to return to the initial state, micropyton does not suit me. I reprogrammed it as an esp32 dev module, unfortunately in m5stack mode it is not programmed
If you do not have a capacitor available, you can also try to set the "Upload Speed" to 115200 in Arduino IDE.
Of course the uploads are longer, but it did the job for me : i did not have any upload error since
I also installed the latest CP210x Windows driver (v10.1.1 for Windows 10) but i don't think this is necessary
It is a built-in function of PMU. One pressing will only reset the ESP32, double pressing will be treated as power off, so the PMU will directly cut-off the MCU's power. We may supply modifying such functions in the future hardware releases.