|
CoffeePi
Coffee machine control for Raspberry Pi
|
#include <pthread.h>Go to the source code of this file.
Macros | |
| #define | SPI_CHANNEL 1 |
| #define | SPI_SPEED 200000 |
| #define | TIMER_DELAY_US 50000 |
| #define | SQL_DATABASE "nodes.sqlite" |
| #define | THREAD_MAIN 0 |
| #define | THREAD_STRIPE 1 |
| #define | THREAD_DISPLAY 2 |
| #define | THREAD_COFFEE 3 |
Functions | |
| void | killThread (int threadid, int sig) |
| Sends a signal to a thread. More... | |
Variables | |
| int | verbose |
| bool | optDate |
| bool | optPower |
| pthread_mutex_t | mutex |
| int | lcd |
| pthread_t | thread [] |
| #define SPI_CHANNEL 1 |
| #define SPI_SPEED 200000 |
| #define SQL_DATABASE "nodes.sqlite" |
| #define THREAD_COFFEE 3 |
| #define THREAD_DISPLAY 2 |
| #define THREAD_MAIN 0 |
| #define THREAD_STRIPE 1 |
| #define TIMER_DELAY_US 50000 |
| void killThread | ( | int | threadid, |
| int | sig | ||
| ) |
Sends a signal to a thread.
| threadid | ID of the thread |
| sig | Signal to send |
| int lcd |
| pthread_mutex_t mutex |
| bool optDate |
| bool optPower |
| pthread_t thread[] |
| int verbose |
1.8.10