README

1. Setup

  • Python package requirements (updated March 4, 2022):
    • Installation: pip install -r requirements.txt
    • Write file: pip freeze > requirements.txt
      • This should be done in a venv to avoid adding unnecessary packages
    • May need to use pip3 in place of pip for commands to work, or alternatively use conda
  • Basic Hardware Information:
    • Micro::bit V2 Specs: Arm Cortex-M4, RAM 128KB, Flash 512KB
    • Build-in microphone sensor (More details in notes)
  • Code with python (micro-python):
    • More details under Micropython folder
    • the micropython encapsulation is too upper-level and it stops us from accessing some important features (like recording a voiceline), so it is not recommended
  • Code with C++ (CODAL):
    • Setup: See this microbit-v2-samples repository.
    • The V2 version still doesn't have any online document, so I build the inline version with Doxygen and attach it under Docs/CODAL-V2.
      • Clone the Repository and open the index.html under the directory mentioned above (or use the local link).

2. Tasks | Related Resources