next up previous contents
Next: 9.1 Output Control Up: The Interactive C Manual Previous: 8.4 Passing Pointers as

9 Library Functions

Library files provide standard C functions for interfacing with hardware on the Handy Board. These functions are written either in C or as assembly language drivers. Library files provide functions to do things like control motors, make tones, and input sensors values.

IC automatically loads the library file every time it is invoked. The name of the default library file is is contained as a resource within the IC application. On command-line versions of IC , this resource may be modified by invoking `` ic -config''. On the Macintosh, the IC application has a STR resource that defines the name of the library file.

The Handy Board's root library file is named lib_hb.lis.

Fred G. Martin
Fri Mar 29 17:44:15 EST 1996