Welcome to the EyeBot  Version 7 - RPi1
A Controller For Various Hardware IO
Macros | Functions | Variables
main.c File Reference

the main code to run the GUI for the EyeBot More...

#include <dirent.h>
#include <stdio.h>
#include <stdlib.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <signal.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/Xresource.h>
#include "eyebot.h"
#include "header.h"
#include <pthread.h>
#include <wiringPi.h>
#include <unistd.h>

Macros

#define ROBIOS_VERSION   "7.0"
 
#define _GNU_SOURCE
 
#define M6MAIN_TEXTROW   1
 
#define M6MAIN_TEXTCOL   0
 
#define M6MAIN_BATTBAR_COLOR   LCD_BLUE
 
#define M6MAIN_HOSTNAME_LEN   64
 

Functions

void * keyInputThread (void *data)
 
void * irInputThread (void *data)
 
void * screenRefreshThread (void *data)
 
void printfile (char filename[], char title[])
 
int haddr2inaddr (char *haddr, struct in_addr *inaddr, int hlen)
 
int system_info (void)
 
int system_network (void)
 
int system_exit ()
 
int page_system (void)
 
int page_main (void)
 
void getParams ()
 
int main (int argc, char *argv[])
 

Variables

PROC_PROCLIST proclist
 
KEYCODE keycode
 
int screenRefresh
 
ROBIOS_PARAMS robiosParams
 
pthread_t threadKeyInput
 
pthread_t threadIRInput
 
pthread_t threadScreenRefresh
 
int menu = 1
 

Detailed Description

the main code to run the GUI for the EyeBot

Author
Marcus Pham