Skip to content

Ssuncreature/selfcare-microbit

Repository files navigation

Open this page at https://ssuncreature.github.io/selfcare-microbit/

How to use

This tool is to be used for self-maintenance, designed to encourage a routine. To download, activate the micro:bit and plug it into your device. Open the download link here

^--- if you don't trust hyperlinks: https://makecode.microbit.org/S78943-43328-22071-03653

from there, simply click download and follow the instructions!

Controls

Log goal A: A Log goal B: B

Suggested goal meanings:

Goal A (Three entries) - Meals/Food

Goal B (Two entries) - Brushing teeth/washing face

Hardware specifications

This code is designed to be used via MakeCode on a micro:bitV2 and is not compatible with micro:bitV1 due to certain code portions.

The Process

A little guide for anyone wishing to understand my creation process for this specific project.

To create this, I began with conceptualising. What's something I could fix or improve? I knew that a lot of my friends struggle to build habits. I find tomodachis very cute, so I decided to make a tomodachi-esque habit tracker.

I already had experience with Python working on ClanGen (go play it!), so I didn't use any tutorials. Some (albeit outdated) Stack Overflow answers and Microsoft MakeCode forums were helpful when I was particularly struggling, but that didn't occur frequently. Once I had a MakeCode document prepared, I made a GitHub repository to make my progress tracking easier, and made issues based on what tasks I planned to complete (see the closed issues tab), and began introducing functions based on what could be streamlined by one another (example: scoring system for controls and progress bar instead of just making another light toggle when a button is clicked)

From there, I mainly utilised trial and error, shortening code sections and commenting for easier readability.

Metadata (used for search, rendering)

  • for PXT/microbit
<script src="https://makecode.com/gh-pages-embed.js"></script><script>makeCodeRender("{{ site.makecode.home_url }}", "{{ site.github.owner_name }}/{{ site.github.repository_name }}");</script>