Hardware :: 1wire :: ha7net

Hardware :: 1Wire :: ha7net, hardware :: 1wire :: ha7net :: ds1820, hardware :: 1wire :: ha7net :: ds18b20, hardware :: 1wire :: ha7net :: hmp2001s
Descargar ahora

Hardware :: 1wire :: ha7net Clasificación y resumen

Anuncio publicitario

  • Rating:
  • Licencia:
  • Perl Artistic License
  • Precio:
  • FREE
  • Nombre del editor:
  • Daniel V. Klein
  • Sitio web del editor:
  • http://search.cpan.org/~dvklein/

Hardware :: 1wire :: ha7net Etiquetas


Hardware :: 1wire :: ha7net Descripción

Hardware :: 1Wire :: ha7net, hardware :: 1wire :: ha7net :: ds1820, hardware :: 1wire :: ha7net :: ds18b20, hardware :: 1wire :: ha7net :: hmp2001s Hardware :: 1wire :: ha7net es un módulo Perl que proporciona una interfaz a los sistemas de datos incrustados HA7NET 1-Wire Buster.Synopsis Use Hardware :: 1wire :: ha7net; $ unidad = nuevo hardware :: 1wire :: ha7net "http://ha7net.local.net"; por $ s ($ unidad-> sensores) {if ($ s-> isa ("ds1820")) {impresión escalar $ s-> temperatura, "\ n"; Push @Addrs, $ s-> dirección; } SI ($ S-> ISA ("DS18B20")) {$ S-> Resolución (10); PrintF "Addr:% s, temp:% s, resolución:% s \ n", $ s-> temperatura; Push @Addrs, $ s-> dirección; } IF ($ S-> ISA ("HMP2001S")) {impresión escalar $ s-> valor, "\ n"; Push @Addrs, $ s-> dirección; }}% sensores = $ unidad-> leer (@Addrs); % sensores = $ unidad-> leer ($ unidad-> sensores); % sensores = $ unidad-> leer (); Si ($ Unit-> Escanear (\ @ agregado, \ @Deleted)) {por $ s (@added) {impresión "Sensor agregado:", $ s-> tipo, $ s-> dirección; }} Requisitos: · Perl


Hardware :: 1wire :: ha7net Software relacionado