EVShield  v1.3
EVShield Library Reference by mindsensors.com
EVs_MagicWand.h
1 
2 /*
3  * EVShield interface library
4  * Copyright (C) 2015 mindsensors.com
5  *
6  * This file is part of EVShield interface library.
7  This library is free software; you can redistribute it and/or
8  modify it under the terms of the GNU Lesser General Public
9  License as published by the Free Software Foundation; either
10  version 2.1 of the License, or (at your option) any later version.
11 
12  This library is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  Lesser General Public License for more details.
16 
17  You should have received a copy of the GNU Lesser General Public
18  License along with this library; if not, write to the Free Software
19  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20 */
21 
22 #ifndef EVs_MagicWand_H
23 #define EVs_MagicWand_H
24 #include "EVShieldI2C.h"
25 
26 #define MagicWand_WR_Register 0x00
27 
31 class EVs_MagicWand : public EVShieldI2C
32 {
33 
34 public:
36  EVs_MagicWand(uint8_t devAddr = 0x70);
37 
39  void lightWand(uint8_t byteToWrite);
40 };
41 
42 #endif
void lightWand(uint8_t byteToWrite)
Definition: EVs_MagicWand.cpp:29
This class implements I2C interfaces used by EVShield.
Definition: EVShieldI2C.h:32
This class interfaces with Magic Wand attached to EVShield.
Definition: EVs_MagicWand.h:31
EVs_MagicWand(uint8_t devAddr=0x70)
Definition: EVs_MagicWand.cpp:24