Example #1
0
void Thread::execute(void *arg) {
	//HAL* hal = HAL::getInstance();
	Serial* serial = Serial::getInstance();
	serial->open_serial("/dev/ser1");
	Test test;

	while(!isStopped()){
		//test.componentTest(hal);
		test.serialTest(serial);
		sleep(2);
	}

}