#include "RCUControlEngine.h" #include int main( int argc, char** argv ) { RCUControlEngine *ce = new RCUControlEngine(); cout.setf( ios::hex, ios::basefield ); cout << "0x" << ce->sendRCU_WRITE_AFL() << endl; cout << "0x" << ce->sendRCU_WRITE_ACL(12) << endl; cout << "0x" << ce->sendRCU_WRITE_PEDMEM(0xbeef) << endl; cout << "0x" << ce->sendRCU_ALTRO_INSTRUCTION_STORE(0xbeef) << endl; cout << "0x" << ce->sendRCU_ALTRO_INSTRUCTION_EXECUTE() << endl; cout << "0x" << ce->sendRCU_ALTRO_INSTRUCTION_FILE_NAME(10) << endl; cout << "0x" << ce->sendRCU_REG_CFG_FILE_NAME(15) << endl; delete ce; ce = 0; return 0; }