sgtpepperpt / whirlpool_ac_lib

Control an Whirlpool A/C via a C program. C library for Raspberry Pi.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Whirlpool A/C driver library

This C library converts high-level A/C commands into IR strings to control a Whirlpool SPIW312A2WF A/C unit. Available functions are on include/ac_controller.h. An example can be found on src/emitter/example.c.

The code also includes a receiver program, used to help decode the remote controller codes. If you only want to integrate the A/C controller into your program you can compile only the library module.

Dependencies

Compiling

To compile as a shared library just run make && sudo make install

To compile the decoder/receiver run make decoder

To compile the emitter example run make example

About

Control an Whirlpool A/C via a C program. C library for Raspberry Pi.

License:GNU General Public License v3.0


Languages

Language:C 97.4%Language:Makefile 2.6%