Hot answers tagged

6 votes
Accepted

How can I use a serial port to listen to if a toggle is switched?

The basic idea is correct even though the details how you think it works are not entirely correct. Yes, you can connect DTR to DSR via a switch and be able to detect the switch state by reading the ...
user avatar
  • 89.6k
2 votes

UART over sampling

Two devices that communicate over UART are not synchronous, so device A uses its own clock to transmit, and device B uses its own clock to receive data. The receiving device must check the incoming ...
user avatar
  • 89.6k
2 votes

UART over sampling

Do not confuse clock recovery and UART oversampling, they are very different things. Clock recovery is used typically in synchronous transmission and often uses a PLL to resyntesize the data clock ...
user avatar
1 vote

Problem working with MIDI on hardware serial port on Raspberry Pi Pico 2040

This is resolved. Leaving this here because schematics and code may be useful to someone in the future. My issues were : Messed with MIDI DIN connector pins, switching pins 4 and 5 resolved the ...
user avatar
  • 193
1 vote
Accepted

TLC5946 no output when BLANK is LOW

The datasheet says: The counter is reset to zero when the BLANK signal is set high. […] When the counter becomes FFFh, the counter stops and output does not turn on until the next grayscale cycle. ...
user avatar
  • 14.6k

Only top scored, non community-wiki answers of a minimum length are eligible