X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=DWeather%2Flib%2FDWeather%2FStation%2FVantage.pm;fp=DWeather%2Flib%2FDWeather%2FStation%2FVantage.pm;h=5f3749ee2b3c31d7f4ffd0df862c0240f9eacd41;hb=631bc0f2b224c9ebfd1dd5827814e5aba3e6d023;hp=0000000000000000000000000000000000000000;hpb=dc4a7b485f2c395471e3f7b64667da3625dcdc64;p=dweather.git diff --git a/DWeather/lib/DWeather/Station/Vantage.pm b/DWeather/lib/DWeather/Station/Vantage.pm new file mode 100644 index 0000000..5f3749e --- /dev/null +++ b/DWeather/lib/DWeather/Station/Vantage.pm @@ -0,0 +1,35 @@ +# +# Vantage Pro 2 interface for DWeather +# +# + +package DWeather::Station::Vantage; + +use strict; +use warnings; + +use base qw(DWeather::Station); +use DWeather::Debug; +use AnyEvent; + +sub new +{ + my $pkg = shift; + my $class = ref $pkg || $pkg; + my $device = shift; + + my $d = $class->SUPER::new($device, 19200); + return $d; +} + +sub reset +{ + +} + +sub poll +{ + +} + +1;