This Project is a startup for OMNIMA Display LCD using standard OMNIMA LCD Commands.
The details could be found from:
The source has been made on Eclipse IDE under UBUNTU 10.10.
It has been compiled using g++. Though it seems, binary created using g++ is more responsive than binary created using gcc.
Some Higher level API’s which can be directly called:
void ClearDisplay();
void PutPixel(int x,int y);
void PieChart(int x1,int y1,int *valArr,unsigned char arrLen);
void Gauge(int x1,int y1,int value);
void SetGaugePointer(int x1,int y1,int value);
void CleanGaugePointer(int x1,int y1,int value);
void Table(FILE *ptr,int x,int y);
void BarChart(int x,int y,int *valArr,unsigned char arrLen);
An Example of APIs have been given in the main function.
Prerequisite:
fd=openOmnimaLCDComms("/dev/ttyUSB0");
- Give the proper port id which is connected to OMNIMA.
ptr=fopen("/home/ubuntu/Downloads/Linux.txt","r+");
- give the path of a proper CSV file.
https://docs.google.com/viewer?a=v&pid=explorer&chrome=true&srcid=0Bz3ulCKbAkmONTFkNTc2NDYtMjgzYi00OGU3LWI4OTctYTJkODUwMDdhMDBh&hl=en_US