Skip to main content
added 9 characters in body
Source Link
ocrdu
  • 1.8k
  • 3
  • 12
  • 24

You are declaring float data_storage_array[600][3]float data_storage_array[600][3] in setup()setup(), and using it in another function, that can't "see" it. 

The simplest way of making it work is making your array global by declaring it at the top in the section where you declare other variables like max_loadmax_load.

You are declaring float data_storage_array[600][3] in setup(), and using it in another function, that can't "see" it. The simplest way of making it work is making your array global by declaring it at the top in the section where you declare other variables like max_load.

You are declaring float data_storage_array[600][3] in setup(), and using it in another function, that can't "see" it. 

The simplest way of making it work is making your array global by declaring it at the top in the section where you declare other variables like max_load.

Source Link
ocrdu
  • 1.8k
  • 3
  • 12
  • 24

You are declaring float data_storage_array[600][3] in setup(), and using it in another function, that can't "see" it. The simplest way of making it work is making your array global by declaring it at the top in the section where you declare other variables like max_load.