Craig Evans
/
DocTest
Example of using Doxygen to document a program.
Diff: main.cpp
- Revision:
- 0:b85460bc73b9
- Child:
- 1:6fc14cd8ccf1
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Wed Mar 11 10:55:42 2015 +0000 @@ -0,0 +1,27 @@ +/** +@file main.cpp + +@brief Program implementation + +*/ +#include "main.h" + +int main() { + while(1) { + myled = 1; + wait(0.2); + myled = 0; + wait(0.2); + } +} + + +/** +* Doesn't really. Just an example function. +* @param a - some random value +* @returns the same value +*/ +int blink(int a) { + + return a; +} \ No newline at end of file