For this assignment, I worked with Tyler Milligan and Michael Nicolaou. First, we started by saying that both microbits would be healthy (shown by a happy face). We then added that if you press the A button on either microbit, that one becomes infected (shown by a sad face). We used a probability statement that used the signal strength of the microbits to determine how likely the second microbit would be infected if one became infected. The closer the microbits were to each other, the more likely (and quickly) the second one would be infected. The further the microbits were from each other, the less likely (and more slowly) the second microbit would become infected. Our probability statement also said that if the microbits were within signal range of eachother, even if they were at the furthest point away from eachother, the second microbit would still eventually (and very slowly) become infected. We also included that if you press the B button on either microbit, it will become uninfected, just for debugging purposes.
We were running into a strange issue where the first microbit got infected, but when the second one did it would reverse the infection in the first one. We also had a few issues getting the signal strength to work correctly, so we had to fix and re-upload our code many times.
But, we finally got it to work correctly!
Welcome to my progress blog for my Wearable Technology course at the University of Colorado, Boulder. Enjoy watching my process as my ideas become a reality.