Hi,
I'm using CircuitPython at Raspberry Pi Pico W.
I want to turn off the RF module before it enters Deep Sleep mode, I wrote the code as follows:
As a result, the following error occurred:
AttributeError: 'module' object has no attribute 'GP23'
GPIO23 is an intarnal I/O port for SMPS control, I don't think this pin is defined as a GPIO pin.
All of the code I searched the internet for was assuming MicroPython and was not helpful.
Please show me the correct way to code.
Thanks,
I'm using CircuitPython at Raspberry Pi Pico W.
I want to turn off the RF module before it enters Deep Sleep mode, I wrote the code as follows:
Python:
rfen = digitalio.DigitalInOut(board.GP23)
rfen.direction = digitalio.Direction.OUTPUT
AttributeError: 'module' object has no attribute 'GP23'
GPIO23 is an intarnal I/O port for SMPS control, I don't think this pin is defined as a GPIO pin.
All of the code I searched the internet for was assuming MicroPython and was not helpful.
Please show me the correct way to code.
Thanks,
