Libreira tvout

Buonasera, ho provato uno sketch della libreria TVout su un arduino uno e non ci sono problemi, la tv mi mostrava quello che era scritto sullo sketch. Ora il mio problema sta nel fatto che voglio unire due sketch, uno di una stazione meteo(WUNDERGROUND) e quello del tvout. Ma appena provo a vedere se c'è qualche errore mi dice che non trova avr/io.h ma controllando nella libreria si trova. Vi allego lo sketch e l'errore.
sketch:

/**The MIT License (MIT)

Copyright (c) 2017 by Daniel Eichhorn

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

See more at https://blog.squix.org
*/

#include <Arduino.h>

#include <ESP8266WiFi.h>
#include <JsonListener.h>
#include "WundergroundConditions.h"
#include <TVout.h>
#include <fontALL.h>
TVout TV;
/**
 * Wunderground Settings
 */
const String  WUNDERGRROUND_API_KEY = "<Wunderground-KEY>";
const boolean IS_METRIC = true;
const boolean USE_PM = false;
// to retrieve the ZMW-Code use
//     http://api.wunderground.com/api/<API-KEY>/conditions/q/<COUNTRY-CODE>/<CITY-NAME>.json
// for example and grab for the zmw ...
const String  WUNDERGROUND_ZMW_CODE = "00000.215.10348"; // Braunschweig-Flughafen -> EDVE
const String  WUNDERGRROUND_LANGUAGE = "DE";

// initiate the WundergoundClient
WundergroundConditions wunderground(IS_METRIC);


/**
 * WiFi Settings
 */
const char* ESP_HOST_NAME = "esp-" + ESP.getFlashChipId();
const char* WIFI_SSID     = "yourssid";
const char* WIFI_PASSWORD = "yourpassw0rd";

// initiate the WifiClient
WiFiClient wifiClient;



/**
 * Helping funtions
 */
void connectWifi() {
  WiFi.hostname(ESP_HOST_NAME);
  WiFi.begin(WIFI_SSID, WIFI_PASSWORD);
  delay(20);
  Serial.print("Connecting to ");
  Serial.println(WIFI_SSID);
  while (WiFi.status() != WL_CONNECTED) {
    delay(500);
    Serial.print(".");
  }
  Serial.println("");
  Serial.println("WiFi connected!");
  Serial.println(WiFi.localIP());
  Serial.println();
}


/**
 * SETUP
 */
void setup() {

  Serial.begin(115200);
TV.begin(PAL,120,96); //imposto la modalità PAL ed una risoluzione di 120 x 96
TV.clear_screen();

  connectWifi();

  Serial.println();
  Serial.println("\n\nNext Loop-Step: " + String(millis()) + ":");
  WGConditions conditions;
  wunderground.updateConditions(&conditions, WUNDERGRROUND_API_KEY, WUNDERGRROUND_LANGUAGE, WUNDERGROUND_ZMW_CODE);

  Serial.println("wundergroundDate: " + conditions.date);

  Serial.println("wundergroundWindSpeed: " + conditions.windSpeed);
  Serial.println("wundergroundWindDir: " + conditions.windDir);

  Serial.println("wundergroundCurrentTemp: " + conditions.currentTemp);
  Serial.println("wundergroundTodayIcon: " + conditions.weatherIcon);
  Serial.println("wundergroundTodayIconText: " + conditions.weatherText);
  Serial.println("wundergroundMeteoconIcon: " + wunderground.getMeteoconIcon(conditions.weatherIcon));
  Serial.println("wundergroundWeatherText: " + conditions.weatherText);
  Serial.println("wundergroundHumidity: " + conditions.humidity);
  Serial.println("wundergroundPressure: " + conditions.pressure);
  Serial.println("wundergroundDewPoint: " + conditions.dewPoint);
  Serial.println("wundergroundPrecipitationToday: " + conditions.precipitationToday);

  Serial.println();
  Serial.println("---------------------------------------------------/\n");

}


/**
 * LOOP
 */
void loop() {

}

Errore:

In file included from C:\Users\utente\AppData\Local\Temp\untitled1874365321.tmp\sketch_nov10b\tv.ino:1:0:

C:\Users\utente\Programmi\Arduino\libraries\TVout/TVout.h:35:20: fatal error: avr/io.h: No such file or directory

 #include <avr/io.h>

Grazie a chi mi aiuta

NON ho guardato il tuo codice ed il tuo problema, ma ti avviso subito che la TVout è praticamnete esclusiva ...
... per funzionare impegna a tal punto le risorse della MCU che null'altro può seriamente girare, figuriamoci collegamenti WiFi e recupero di dati via internet.

I segnali TV hanno temporizzazioni molto precise e vanno inviati in continuazione per il disegno e ed il refresh del quadro, quindi ... "TV out" è un bell'esercizio per mandare una scrittina su un TV, ma null'altro di praticamente utilizzabile.

Guglielmo

Ho capito, va bene grazie lo stesso