Prev: Declaring the actions
Next: Getting started with RKH
The application C-file "my.c" that uses RKH must include a few header files.
(1) #include "rkh.h"
(2) #include "my.h"
- (1) Every application C-file that uses RKH must include the rkh.h header file. This header file contains the specific adaptation of RKH to the given processor and compiler, also includes the RKH interface to implement state machines. The port file is located in the application directory.
- (2) The "my.h" header file contains the definitions of object structures (state machine, states, and pseudostates), event declaration, and other facilities shared among the components of the application.
Prev: Declaring the actions
Next: Getting started with RKH