Hello,
Currently I’m investigating the ways of communication between robots of various brands with CyberPi/mBot2. I found out that the most suitable approach is to communicate via MQTT. Unfortunately MQTT is Python coding workflow only, so it is not for the young kids. Also I found out that mBlock is not the best user-friendly Python developing environment for beginners (both mBlock and documentation) or maybe I just missed something?
-
What is the purpose of ‘Python’ tab in ‘Code with blocks’ editor? I can see console window in the bottom that print some micropython logs in Live mode but I can’t to send python commands directly to CyberPi. Maybe I’m doing something wrong?
-
‘Python editor’ has a console in the bottom, but I’m still not able to send commands directly to CyberPi’s micropython. How to run terminal to CyberPi micropython? For example, when I tried to code MQTT client on CyberPi I needed help() and dir() commands to find out what should I import and what methods to use. So the only way was to write those commands in main.py then flash it to CyberPi and see the log window when the CyberPi runs that script. I believe there should be a terminal to CyberPi’s micropython REPL in live mode. How to do that?
-
Is it possible to mix blocks with micropython code? I was wondering Codey has MQTT blocks by default but CyberPi doesn’t have it.
-
There is no hints (intellisense) in ‘Python editor’ even for basic CyberPi commands. Maybe somebody would share his experience using another approach to code micropython for CyberPi in another IDE with direct terminal?