Ayuda con una parte de codigo// Help with code

Hola, estoy intentando entender un trozo de un código, pero no se para que se usa ni que es exactamente, lo dejo aquí igualmente.

Hello, I am trying to understand a piece of code, but I don't know what it is used for or what it is exactly, I leave it here anyway.

OpenWeatherMapCurrentData currentWeather;
OpenWeatherMapCurrent currentWeatherClient;

OpenWeatherMapForecastData forecasts[PRONOSTICOS_MAXIMOS];
OpenWeatherMapForecast forecastClient;

from that short piece of code only a rough estimation can be told.

Looks like there are libraries with names



defining objects with the names



if this is true depends on the rest of the code
So if you want a more precise explanation post the whole sketch using this method
You should post code by using code-tags
There is an automatic function for doing this in the Arduino-IDE
just three steps

  1. press Ctrl-T for autoformatting your code
  2. do a rightclick with the mouse and choose "copy for forum"
  3. paste clipboard into write-window of a posting

best regards Stefan
best regards Stefan

okay thank u

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.