You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
KED/main.cpp

35 lines
538 B

/*
* Authors : Kerem Yollu, Edwin Koch
* Date : 08.08.21
* Version : 0.1
* License : MIT-0
*
* Description : Entry to project
*
* TODO : ALL
*
*/
#include "main.hpp"
CommandManager commander;
Pin_Raspberry rpin;
void dummy()
{
rpin.write(1);
std::cout << "Dummy" << std::endl;
}
int main(int argc, char *argv[])
{
std::cout << "Main Begin" << std::endl;
commander.addNewCommand("dummy", "The test command for testing the test", dummy);
commander(argv[1]);
std::cout << "Main End" << std::endl;
return 1;
}