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 03da5a6 commit 7a7590aCopy full SHA for 7a7590a
examples/rpc_lite_client/rpc_lite_client.ino
@@ -1,13 +1,14 @@
1
#include <RpcLite.h>
2
3
-SerialTransport transport(&Serial0);
+SerialTransport transport(&Serial2);
4
RPCClient client(transport);
5
6
void setup() {
7
- Serial0.begin(115200);
+ Serial2.begin(115200);
8
transport.begin();
9
pinMode(LED_BUILTIN, OUTPUT);
10
Serial.begin(9600);
11
+ while(!Serial);
12
}
13
14
void blink_before(){
src/SerialTransport.h
@@ -35,6 +35,7 @@ class SerialTransport: public ITransport {
35
36
buffer[r_size] = _stream->read();
37
r_size++;
38
+ delay(1);
39
40
41
return r_size;
0 commit comments