You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/image_transfer_jpg_as_the_controller_device_example/image_transfer_jpg_as_the_controller_device_example.ino
+16-30Lines changed: 16 additions & 30 deletions
Original file line number
Diff line number
Diff line change
@@ -18,21 +18,18 @@ const int SD_CARD_CHIP_SELECT_PIN = 4;
18
18
// We need to define a scratch buffer for holding messages. The maximum amount of data
19
19
// you may pass in any on direction is limited to the size of this buffer.
20
20
21
-
openmv::rpc_scratch_buffer<256> scratch_buffer; // All RPC objects share this buffer.
21
+
// PLEASE NOTE THAT THE OPENMV CAM OUTPUTS BURST DATA AT A VERY HIGH RATE BACK TO BACK
22
+
// THAT SOME ARDUINOS MAY NOT BE ABLE TO HANDLE. ONLY MAKE THE BUFFER SIZE LARGER FOR
23
+
// INTERFACES WHICH CAN HANDLE A HIGH BURST RATE.
24
+
25
+
openmv::rpc_scratch_buffer<32> scratch_buffer; // All RPC objects share this buffer.
0 commit comments