Script and Tests

Script: led_blink_with_plot

  • Download led_blink_with_plot.hex by right-clicking the link and selecting Save link as…

led_blink_with_plot.hex

  • Open the file you just downloaded (python.microbit.org/v/2 matches the screencaptures) by clicking the Load/Save files button.  Then, either click the Load section’s "Or browse for a file." link or drag the hex file you downloaded and drop it into the Load section's gray box.  
  • Click Connect, then Flash, then Disconnect.


Tests

  • Go to cyberscope.parallax.com and click Connect.
  • Set the Time/Div dropdown to 500 ms.
  • Verify that your plot resembles the picture below. You should see equally spaced squared peaks slightly above 2.5 V and dropping to 0 V.