Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Can pyscript access the /dev/ttyUSBx ports? #256

Unanswered
IoTPlay asked this question in Q&A
Discussion options

Hello, I have an WaveShare RS485 / Modbus USB dongle, that drives automation of the likes of Relays using the WaveShare 8CH relay, and I want to also connect to modbus Temperature meters, etc.

The code to interact with the modbus devices, through the USB dongle is in Python3.

Q: Can pyscript access the /dev/ttyUSB0 or others, using normal python libraries like Serial etc or is it running in a contained env that cannot get to physical ports etc?

You must be logged in to vote

Replies: 1 comment

Comment options

yes it can.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants

AltStyle によって変換されたページ (->オリジナル) /