Start work on fetching weather

This commit is contained in:
Robert Marshall 2018-09-22 10:39:57 +01:00
parent 4567adf91b
commit 5ffc1b8b0c
4 changed files with 25 additions and 0 deletions

12
Weather.cpp Normal file
View file

@ -0,0 +1,12 @@
#include "Weather.h"
#include <Arduino.h>
#include "openWeatherMapApiKey.h"
Weather::Weather(char *lat, char *lon){
sprintf(_url, WEATHER_URL, lat, lon, OPEN_WEATHER_MAP_API_KEY);
}
void Weather::update(){
}