Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setting and clearing RTS seems not to work #8

Open
NiklausS opened this issue Apr 11, 2020 · 0 comments
Open

setting and clearing RTS seems not to work #8

NiklausS opened this issue Apr 11, 2020 · 0 comments
Labels
question Further information is requested

Comments

@NiklausS
Copy link

NiklausS commented Apr 11, 2020

Hi,
I'm just about using your library. And it works fine so far, thank you.
However, i do not succeed in setting / clearing the RTS.
I need this to reset a esp8266 board.

the original esptool.py works like this:

    def hard_reset(self):
        self._setRTS(True)  # EN->LOW
        time.sleep(0.1)
        self._setRTS(False)

but when i do this with your lib, this seems not to do anything :-(
any idea?
python 3.8
aioserial 1.2.3
pyserial 3.4

aio1= aioserial.AioSerial(port='/dev/ttyUSB0', baudrate='115200' )
print("reset rts ")
aio1.rts=False
await asyncio.sleep(0.1)
aio1.rts=True

aio1.is_open -> this one seems to be correct and usable

@mrjohannchang mrjohannchang added bug Something isn't working question Further information is requested and removed bug Something isn't working labels Mar 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants