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