diff --git a/ch-6/2-techniques/pio_debugging_registers.py b/ch-6/2-techniques/pio_debugging_registers.py index 59465dd..827d29b 100644 --- a/ch-6/2-techniques/pio_debugging_registers.py +++ b/ch-6/2-techniques/pio_debugging_registers.py @@ -23,4 +23,4 @@ buffer = array.array('I', [0]) # read the data sm.readinto(buffer) -print("{0} 0b{0:08b}".format(buffer[0])) +print("{0} 0b{0:032b}".format(buffer[0]))