We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e55d414 commit ed1b8ebCopy full SHA for ed1b8eb
hardware/arduino/avr/cores/arduino/Stream.h
@@ -64,6 +64,8 @@ class Stream : public Print
64
bool find(uint8_t *target, size_t length) { return find ((char *)target, length); }
65
// returns true if target string is found, false if timed out
66
67
+ bool find(char target) { return find (&target, 1); }
68
+
69
bool findUntil(char *target, char *terminator); // as find but search ends if the terminator string is found
70
bool findUntil(uint8_t *target, char *terminator) { return findUntil((char *)target, terminator); }
71
0 commit comments