Results for “Serial.read”
Small, practical examples. Search by task or narrow things down below.
Clear a flag without affecting neighboring bits
Arduino / C: bitClear resets only the selected bit.
Arduino / C✓ Tested
Combine matching rows with INNER JOIN
Read product names with their matching stock values.
INNER JOIN✓ Tested
Combine text with a name
C++: Construct a greeting from a fixed prefix and a stored name.
C++✓ Tested
Compare a command case-sensitively
Arduino / C: strcmp returns zero when both null-terminated strings match.
Arduino / C✓ Tested
Compare a row with the previous row
Read a preceding value with LAG.
LAG✓ Tested
Compare a value with a limit
Python: Turn a comparison into a readable yes or no result.
Python✓ Tested
Compare a value with a limit
C#: Turn a comparison into a readable yes or no result.
C#✓ Tested
Compare a value with a limit
Java: Turn a comparison into a readable yes or no result.
Java✓ Tested
Compare a value with a limit
JavaScript: Turn a comparison into a readable yes or no result.
JavaScript✓ Tested
Compare a value with a limit
TypeScript: Turn a comparison into a readable yes or no result.
TypeScript✓ Tested
Compare a value with a limit
C++: Turn a comparison into a readable yes or no result.
C++✓ Tested
Compare a value with a limit
C: Turn a comparison into a readable yes or no result.
C✓ Tested