Just finished some libraries and tests programs for the "RS-232 Testboard" . You can download the package here: test-software.zip
I wrote a low level UART library, a high level library, and two example programs, showing the usage of the high level library (and as a bonus they have some nice effects).
All code was tested with Linux - but it should work with DOS too. If you want to compile it under Linux, you will need the ncurses developer library for the second example program.
Hm... perhaps i will upload some videos soon.
Showing posts with label library. Show all posts
Showing posts with label library. Show all posts
Tuesday, December 28, 2010
Sunday, September 26, 2010
Some C helper routines...
I wrote a small application for counting the number of lines (of code) in *.c files today.
As a side effect i have now some handy functions for different applications.
Luckily i had the passion to write them.
Lets take a look at the functions:
Works with PellesC 6.00.4.
I used some non standard C functions in the code. So it will not work with every compiler without modifications.
Here is the library: utils.zip
(God damn...! The layout on blogger.com is so crapy)
As a side effect i have now some handy functions for different applications.
Luckily i had the passion to write them.
Lets take a look at the functions:
void findFiles( char *, void (char *, char *) );
Finds all files in a given folder + subfolders and calls a user defined callback function.
const char *getFileType( char * );
Returns the file extension of a given file.
const char *right( char *, int );
Returns 'i' chars from the right side of an string (same function as the command 'right' in VBS).
Works with PellesC 6.00.4.
I used some non standard C functions in the code. So it will not work with every compiler without modifications.
Here is the library: utils.zip
(God damn...! The layout on blogger.com is so crapy)
Subscribe to:
Posts (Atom)