Collecting into an array, sending, reading (in the Arduino) provokes several questions or decisions about what to do. Send the whole set each time? Or Send one each time it changes (with the ident of which one that was.) Send as text or binary? How to identify the start and end of messages? The examples given with the Serial library don’t tell you how to send multi-values. To get quickly past all this I wrote an example, which will almost certainly work first time. One way forward is to run that, then substitute your own data.
1 Like