I found out that I can write a program using Bluetooth on Pythonista3 that can write and execute a Python program on the iPhone, so I made a program to operate the programming follow. Pythonista3 A Python integrated environment that runs on the iPhone (iOS). It's a little expensive for a fee, but it can handle iPhone cameras, accelerometers, Bluetooth, and general libraries such as NumPy and Matplotlib, so it's an environment where you can play a lot. After all, it can be created and executed on the iPhone, so it is attractive to be able to create apps without the Mac required for native program development. If you install stash additionally, you can also use ssh / scp and git.
The program is on github The cb library is used for Bluetooth operation. I'm using the scene library to accommodate button presses on the UI. However, with the GUI created this time, the button status can only get two values, On or Off, and cannot get an intermediate value, so speed control is not possible. Also, it does not support multi-touch. Once the connection with the micro: bit is established, the rest is not much different from "Operating the programming follow with the PS3 controller", and the micro: bit Just send a signal to the I / O terminal of.
When I executed it, it worked like this. It's convenient and fun because you can operate the micro: bit directly from your iPhone.