diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 88bca9f..255dafd 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -12,7 +12,7 @@ sphinx: configuration: docs/conf.py build: - os: ubuntu-20.04 + os: ubuntu-lts-latest tools: python: "3" diff --git a/README.rst b/README.rst index 06123d2..40ff1b1 100644 --- a/README.rst +++ b/README.rst @@ -75,7 +75,7 @@ Usage Example sm = rp2pio.StateMachine( assembled, - frequency=2000, + frequency=4000, init=adafruit_pioasm.assemble("set pindirs 1"), first_set_pin=board.LED, ) diff --git a/examples/pioasm_7seg.py b/examples/pioasm_7seg.py index f8a7def..495aefc 100644 --- a/examples/pioasm_7seg.py +++ b/examples/pioasm_7seg.py @@ -116,7 +116,7 @@ def __init__(self, first_pin=board.GP9): self._buf = array.array("H", (DIGITS_WT[0] & ~COM_WT[i] for i in range(4))) self._sm = rp2pio.StateMachine( _program.assembled, - frequency=2000, + frequency=4000, first_out_pin=first_pin, out_pin_count=14, auto_pull=True, diff --git a/examples/pioasm_hello.py b/examples/pioasm_hello.py index 7796253..fc8334e 100644 --- a/examples/pioasm_hello.py +++ b/examples/pioasm_hello.py @@ -27,7 +27,7 @@ sm = rp2pio.StateMachine( assembled, - frequency=2000, + frequency=4000, first_out_pin=board.LED, ) print("real frequency", sm.frequency)