Script and Tests

Script: led_blink_with_plot

  • Right-click led_blink_with_plot.hex (below), and choose Save Link As...to download.

led_blink_with_plot.hex

  • Click the micro:bit Python Editor's Open button, then select and open led_blink_with_plot.hex. 
  • Click Send to micro:bit.  
  • Click the three vertical dots  â‹®  by the Send to micro:bit button, and select Disconnect.
  • Start the CYBERscope:
    • In a different browser tab, go to cyberscope.parallax.com.  
    • Click the CYBERscope's Connect button.
    • In the serial port dialog, select the port with mbed in its name, and then click Connect. 

Tests

  • 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.