Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 766 Bytes

README.md

File metadata and controls

33 lines (24 loc) · 766 Bytes

Task Description

Implement the following state diagram in C. The state machine represents a interface that can either

task state machine

Environment

The following tools were used to develop the project:

  • GCC compiler
  • Windows 7 or later
  • CodeBlocks IDE
  • Doxygen

How to run the code

  1. Checkout the project to a folder of your choice
  2. Uncomment FSM_A or FSM_B in the ./src/main.c file to run the respective state machine.
  3. Uncomment the TEST macro in the ./src/main.c file to run the test cases.
  4. Run the following commands in the terminal:
$ cd <path_to_project_directory>
$ gcc -o main ./src/main.c
$ ./main

How to build the documentation

$ doxygen Hilscher_Doxyfile