Closed
Description
In principle, the RP2040 datasheet section 3.3.2 suggests that a value can be expressed as a binary value, eg:
0b10101
.
In practice this causes an exception:
lib/adafruit_pioasm.py", line 182, in assemble
value = int(instruction[-1])
ValueError: invalid literal for int() with base 10: '0b10101'
this also applies to hex values.
ValueError: invalid literal for int() with base 10: '0x1a'
This may be simply a note to put under https://learn.adafruit.com/intro-to-rp2040-pio-with-circuitpython (which thinking about it, I should link to from the docs for this module).
Metadata
Metadata
Assignees
Labels
No labels