-
Notifications
You must be signed in to change notification settings - Fork 0
/
property.h
31 lines (20 loc) · 939 Bytes
/
property.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/**************************************************************************\
* Apio Library *
* https://github.com/Apio/library-Apio *
* Copyright (c) 2012-2014, Apio Inc. All rights reserved. *
* ------------------------------------------------------------------------ *
* This program is free software; you can redistribute it and/or modify it *
* under the terms of the BSD License as described in license.txt. *
\**************************************************************************/
#ifndef LIB_APIO_PROPERTY_H_
#define LIB_APIO_PROPERTY_H_
#include "Apio.h"
class ApioProperty : public ApioClass {
public:
ApioProperty();
~ApioProperty();
void Trigger(char *propertyName, int pin, int onValue, int offValue);
void Slider(String propertyName, int pin);
};
extern ApioProperty property;
#endif