We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5113891 commit d6bd32cCopy full SHA for d6bd32c
hardware/arduino/sam/cores/arduino/Stream.h
@@ -73,6 +73,8 @@ class Stream : public Print
73
bool find(uint8_t *target, size_t length) { return find ((char *)target, length); }
74
// returns true if target string is found, false if timed out
75
76
+ bool find(char target) { return find (&target, 1); }
77
+
78
bool findUntil(char *target, char *terminator); // as find but search ends if the terminator string is found
79
bool findUntil(uint8_t *target, char *terminator) { return findUntil((char *)target, terminator); }
80
0 commit comments