sketchbook
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
wiringPi
wiringPi
mcp3004.h
Go to the documentation of this file.
1
/*
2
* mcp3004.c:
3
* Extend wiringPi with the MCP3004 SPI Analog to Digital convertor
4
* Copyright (c) 2012-2013 Gordon Henderson
5
***********************************************************************
6
* This file is part of wiringPi:
7
* https://projects.drogon.net/raspberry-pi/wiringpi/
8
*
9
* wiringPi is free software: you can redistribute it and/or modify
10
* it under the terms of the GNU Lesser General Public License as
11
* published by the Free Software Foundation, either version 3 of the
12
* License, or (at your option) any later version.
13
*
14
* wiringPi is distributed in the hope that it will be useful,
15
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
* GNU Lesser General Public License for more details.
18
*
19
* You should have received a copy of the GNU Lesser General Public
20
* License along with wiringPi.
21
* If not, see <http://www.gnu.org/licenses/>.
22
***********************************************************************
23
*/
24
25
#ifdef __cplusplus
26
extern
"C"
{
27
#endif
28
29
extern
int
mcp3004Setup
(
int
pinBase,
int
spiChannel) ;
30
31
#ifdef __cplusplus
32
}
33
#endif
mcp3004Setup
int mcp3004Setup(int pinBase, int spiChannel)
Definition:
mcp3004.c:63
Generated on Mon Jun 24 2019 21:30:38 for sketchbook by
1.8.6