sketchbook
|
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <time.h>
#include <wiringPiI2C.h>
#include "scrollPhatFont.h"
#include "scrollPhat.h"
Macros | |
#define | SP_WIDTH 11 |
#define | SP_HEIGHT 5 |
#define | PHAT_I2C_ADDR 0x60 |
Functions | |
void | scrollPhatUpdate (void) |
void | scrollPhatPoint (int x, int y, int colour) |
void | scrollPhatLine (int x0, int y0, int x1, int y1, int colour) |
void | scrollPhatLineTo (int x, int y, int colour) |
void | scrollPhatRectangle (int x1, int y1, int x2, int y2, int colour, int filled) |
int | scrollPhatPutchar (int c) |
void | scrollPhatPuts (const char *str) |
void | scrollPhatPrintf (const char *message,...) |
void | scrollPhatPrintSpeed (const int pps) |
void | scrollPhatClear (void) |
void | scrollPhatIntensity (const int percent) |
int | scrollPhatSetup (void) |
#define PHAT_I2C_ADDR 0x60 |
#define SP_HEIGHT 5 |
#define SP_WIDTH 11 |
void scrollPhatClear | ( | void | ) |
void scrollPhatIntensity | ( | const int | percent | ) |
void scrollPhatLine | ( | int | x0, |
int | y0, | ||
int | x1, | ||
int | y1, | ||
int | colour | ||
) |
void scrollPhatLineTo | ( | int | x, |
int | y, | ||
int | colour | ||
) |
void scrollPhatPoint | ( | int | x, |
int | y, | ||
int | colour | ||
) |
void scrollPhatPrintf | ( | const char * | message, |
... | |||
) |
void scrollPhatPrintSpeed | ( | const int | pps | ) |
int scrollPhatPutchar | ( | int | c | ) |
void scrollPhatPuts | ( | const char * | str | ) |
void scrollPhatRectangle | ( | int | x1, |
int | y1, | ||
int | x2, | ||
int | y2, | ||
int | colour, | ||
int | filled | ||
) |
int scrollPhatSetup | ( | void | ) |
void scrollPhatUpdate | ( | void | ) |