silver2row

Making a Plea on a "I need to know things" basis...

Oct 15th, 2020
319
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.37 KB | None | 0 0
  1. ...
  2.  
  3. // A single call to 'read' just isn't reliable, don't do it.
  4. // But if you really want to, this commented section is how you do it
  5.  
  6. // small read, return in one read() call
  7. // this uses built-in timeout instead of select()
  8.  
  9. ...
  10.  
  11. // This bit of source was in the UART.c file in the LibRobotControl repo. as comments.
  12. // What does timeout mean and what is select()?
Add Comment
Please, Sign In to add comment