You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should have given an error because the "forever" label is defined twice.
blink=adafruit_pioasm.assemble(""".program blink pull block ; These two instructions take the blink duration out y, 32 ; and store it in y mov x, yforever: set pins, 1 ; Turn LED onlp1: jmp x-- lp1 ; Delay for (x + 1) cycles, x is a 32 bit number mov x, y set pins, 0 ; Turn LED offlp2: jmp x-- lp2 ; Delay for the same number of cycles againforever: jmp forever ; Blink forever!""")
The text was updated successfully, but these errors were encountered:
This should have given an error because the "forever" label is defined twice.
The text was updated successfully, but these errors were encountered: