The Arduino board collects data (in this case, generates random data) and transmits it to the Serial Port.
The program written in C++ parses the Serial Port and collects these data.
The received data is placed in the corresponding variables in the created classes.
In general, a prototype program for logging data from a greenhouse