NXShield
v1.07
NXShield Library Reference by OpenElectrons.com
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Enumerations
Enumerator
Macros
Pages
NXTTouch.h
1
2
/*
3
* NXShield interface library
4
* Copyright (C) 2011 mindsensors.com
5
*
6
* This file is part of NXShield 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 NXTTOUCH_H
23
#define NXTTOUCH_H
24
25
#include "NXShieldAGS.h"
26
30
class
NXTTouch
:
public
NXShieldAGS
31
{
32
public
:
34
bool
isPressed
();
35
};
36
37
#endif
38
NXTTouch
This class interfaces with LEGO Touch sensor attached to NXShield.
Definition:
NXTTouch.h:30
NXTTouch::isPressed
bool isPressed()
Definition:
NXTTouch.cpp:25
NXShieldAGS
NXShield Analog Sensor class.
Definition:
NXShieldAGS.h:31
NXTTouch.h
Generated on Mon Mar 17 2014 14:20:55 for NXShield by
1.8.5