adafruit / Adafruit_CircuitPython_ESP_ATcontrol

Use the ESP AT command sent to communicate with the Interwebs
MIT License
20 stars 17 forks source link

Invalid Pins for Pico for esp01 #71

Closed Jayakrishna112 closed 6 months ago

Jayakrishna112 commented 6 months ago

while am trying to connect esp01 with pico

import board
from busio import UART
from digitalio import Direction, DigitalInOut

RX = board.GP0
TX = board.GP1

uart = UART(TX, RX, baudrate=11520, timeout=0.1)

the error occured is

%Run -c $EDITOR_CONTENT Traceback (most recent call last): File "", line 8, in ValueError: Invalid pins

I folled the pico datasheet for UART TX and RX pins

image