#include <cstdlib>
#include <iostream>
using namespace std;
#include "PCTx.h"

int main(int argc, char *argv[]) {
	std::cout << "Welcome to the QNX Momentics IDE" << std::endl;
////	std::cout<<"Debug"<<std::endl;
//	usbd_urb* hello =(usbd_urb*)10000;
	usbd_alloc_urb(NULL);
	PCTx *myPCTx = PCTx::getInstance();
	bool connected = myPCTx->connect(argc, argv);
//	cout<<"The connected value : "<<connected<<endl;
//	myPCTx->updateChannel(2,200);
	while(1);d
	cout<<"exit"<<endl;
	return EXIT_SUCCESS;
}
