Skip to content

Inverted RX serial in Berry #20706

Answered by s-hadinger
jeroenst asked this question in Q&A
Feb 11, 2024 · 6 comments · 2 replies
Discussion options

You must be logged in to vote

Please use the latest development version, there is now an optional argument to set to inverted:

# gpio_rx:4 gpio_tx:5

# normal mode
ser = serial(4, 5, 9600, serial.SERIAL_7E1)

# inverted mode
ser = serial(4, 5, 9600, serial.SERIAL_7E1, true)

Replies: 6 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@homeplayer2
Comment options

@s-hadinger
Comment options

Answer selected by s-hadinger
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

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
5 participants