HaloCode has two programming modes: Live mode, and Upload Mode.
The default programming mode with HaloCode is Live Mode. Once HaloCode is connected to mBlock 5, Live Mode is toggled on, as shown below:
Under "Live" mode, programming has the following features:
Programmes don't need to be uploaded to run.
Simply click the script to run and see how it works. Edit it and click it to run again. It is convenient for you to test and try your programmes.
Programmes can not run offline. HaloCode needs to remain connected to mBlock 5.
Scratch stage programming is ready to work with HaloCode. The three Events blocks are available, namely, , and .
Under this circumstance, one Event block is now unavailable:.
Under "Upload mode", programming has following features:
- All programmes need to be uploaded to HaloCode to run. When you finish programming, click "Upload" to upload the program.
- The uploaded programme can run offline (disconnected from mBlock 5), as long as HaloCode has external power source.
- When powered off and on again, HaloCode will still run the program that is uploaded last time before it is powered off.
Under "Upload mode", you are not able to combine Scratch stage programming with HaloCode. (Toggle off "Upload mode" if you want to use Scratch stage programming.)
Hence, several blocks from the Events category are unavailable. These specific blocks are:, , and .