Skip to content

Hardware UART Invert #2393

Answered by earlephilhower
Kinqdos asked this question in Q&A
Aug 30, 2024 · 1 comments · 7 replies
Discussion options

You must be logged in to vote

Please give #2395 a try, @Kinqdos . I did a quick output test using a pulseview to check and it does seem to be inverting as expected with "idle" being LOW, not HIGH.

void setup() {
  Serial1.setInvertRX();
  Serial1.setInvertTX();
  Serial1.begin(115200);
}

int x = 0;
void loop() {
Serial1.printf("%d\n", x++);
delay(100);
}

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@Kinqdos
Comment options

@earlephilhower
Comment options

@Kinqdos
Comment options

@earlephilhower
Comment options

Answer selected by Kinqdos
@Kinqdos
Comment options

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