The challenge

    Here’s the GIF again:

    The challenge - 图2

    This is a timing diagram. It indicates which LED is on at any given instant of time and for how longeach LED should be on. On the X axis we have the time in milliseconds. The timing diagram shows asingle period. This pattern will repeat itself every 800 ms. The Y axis labels each LED with acardinal point: North, East, etc. As part of the challenge you’ll have to figure out how eachelement in the array maps to these cardinal points (hint: cargo doc --open ;-)).

    Place this openocd.gdb file in the root of the Cargo project, right next to the Cargo.toml:

    Then modify the second line of the file: