8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7857216 commit 245b948Copy full SHA for 245b948
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