Here's another attempt. I forgot to short-circuit a loop and I think that leads to the last error mentioned.
edu.mit.appinventor.ble.aix (202.3 KB)
Here's another attempt. I forgot to short-circuit a loop and I think that leads to the last error mentioned.
edu.mit.appinventor.ble.aix (202.3 KB)