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
devLib
scrollPhat.h
Go to the documentation of this file.
1
/*
2
* scrollPhat.h:
3
* Simple driver for the Pimoroni Scroll Phat device
4
*
5
* Copyright (c) 2015 Gordon Henderson.
6
***********************************************************************
7
* This file is part of wiringPi:
8
* https://projects.drogon.net/raspberry-pi/wiringpi/
9
*
10
* wiringPi is free software: you can redistribute it and/or modify
11
* it under the terms of the GNU Lesser General Public License as published by
12
* the Free Software Foundation, either version 3 of the License, or
13
* (at your option) any later version.
14
*
15
* wiringPi is distributed in the hope that it will be useful,
16
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
* GNU Lesser General Public License for more details.
19
*
20
* You should have received a copy of the GNU Lesser General Public License
21
* along with wiringPi. If not, see <http://www.gnu.org/licenses/>.
22
***********************************************************************
23
*/
24
25
extern
void
scrollPhatPoint
(
int
x,
int
y
,
int
colour) ;
26
extern
void
scrollPhatLine
(
int
x0,
int
y0,
int
x1,
int
y1,
int
colour) ;
27
extern
void
scrollPhatLineTo
(
int
x,
int
y
,
int
colour) ;
28
extern
void
scrollPhatRectangle
(
int
x1,
int
y1,
int
x2,
int
y2,
int
colour,
int
filled) ;
29
extern
void
scrollPhatUpdate
(
void
) ;
30
extern
void
scrollPhatClear
(
void
) ;
31
32
extern
int
scrollPhatPutchar
(
int
c) ;
33
//extern void scrollPhatPutchar (int c) ;
34
extern
void
scrollPhatPuts
(
const
char
*
str
) ;
35
extern
void
scrollPhatPrintf
(
const
char
*message, ...) ;
36
extern
void
scrollPhatPrintSpeed
(
const
int
cps10) ;
37
38
extern
void
scrollPhatIntensity
(
const
int
percent) ;
39
extern
int
scrollPhatSetup
(
void
) ;
scrollPhatIntensity
void scrollPhatIntensity(const int percent)
Definition:
scrollPhat.c:407
scrollPhatPutchar
int scrollPhatPutchar(int c)
Definition:
scrollPhat.c:244
scrollPhatLineTo
void scrollPhatLineTo(int x, int y, int colour)
Definition:
scrollPhat.c:197
scrollPhatUpdate
void scrollPhatUpdate(void)
Definition:
scrollPhat.c:85
scrollPhatClear
void scrollPhatClear(void)
Definition:
scrollPhat.c:389
scrollPhatPuts
void scrollPhatPuts(const char *str)
Definition:
scrollPhat.c:317
scrollPhatPoint
void scrollPhatPoint(int x, int y, int colour)
Definition:
scrollPhat.c:137
scrollPhatPrintSpeed
void scrollPhatPrintSpeed(const int cps10)
Definition:
scrollPhat.c:374
scrollPhatRectangle
void scrollPhatRectangle(int x1, int y1, int x2, int y2, int colour, int filled)
Definition:
scrollPhat.c:209
str
#define str(s)
Definition:
General_Stuff.h:41
y
static __inline__ uint32_t uint32_t y
Definition:
arm_acle.h:113
scrollPhatLine
void scrollPhatLine(int x0, int y0, int x1, int y1, int colour)
Definition:
scrollPhat.c:156
scrollPhatSetup
int scrollPhatSetup(void)
Definition:
scrollPhat.c:419
scrollPhatPrintf
void scrollPhatPrintf(const char *message,...)
Definition:
scrollPhat.c:355
Generated on Mon Jun 24 2019 21:30:38 for sketchbook by
1.8.6