Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:software:homelab:library [2010/03/26 14:14] mikk.leinien:software:homelab:library [Unknown date] (current) – external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-====== Homelab library ======+====== Robotic HomeLab Library ======
  
-Homelab library is composed of several C language header files (with ".h" extension) and one static library file (with ".a" extension"). On library installation all these files are copied to the AVR-GCC subdirectories where compiler finds them automatically. User does not have to copy these files to his or her program folder. The following chapters describe the functionality of the library. Step-by-step AVR development software installation instructions for Windows and Linux are written in the first chapter of practical examples.+HomeLab library is composed of several C language header files (with ".h" extension) and one static library file (with ".a" extension"). Upon library installationall these files are copied to the AVR-GCC subdirectories where the compiler finds them automatically. The user does not have to copy these files to his or her program folder.
  
-Homelab library installer is freely available on the Homelab web-page. Users who are intersted in customizing the library can also download the source code for it.+[{{  :images:homelab:library:homelab_library_files.png|HomeLab library source code files}}] 
 + 
 +Step-by-step AVR development software installation instructions for Windows and Linux are written in the first chapter of practical examples. Although different practical examples use various parts of the library, all of them must include a static library (".a" file) in the project. Only header files can be included selectively. Header files which are directly related to the AVR microcontroller are in the "homelab" folder, HomeLab module specific files are in the "homelab/module" folder. Both these folders are in the compiler's root folder, and to include the files from them, less-than and greater-than signs are needed to specify the path. An example of how to include AVR pins and HomeLab motors library header files: 
 + 
 +<code c> 
 +#include <homelab/pin.h> 
 +#include <homelab/module/motors.h> 
 +</code> 
 + 
 +If HomeLab library is not used, then the following avrlibc header file needs to be included into the project: 
 + 
 +<code c> 
 +#include <avr/io.h> 
 +</code> 
 + 
 +In the HomeLab library, this file is already included in the //pin.h// file. 
 + 
 +HomeLab library installer is freely available on the HomeLab web-page. Users who are interested in customizing the library can also download the source code for it. The following chapters describe the functionality of the library
en/software/homelab/library.1269605644.txt.gz · Last modified: (external edit)
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0