Création du projet Otarcik_CAN
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#include "MainWindow.h"
|
||||
#include <QApplication>
|
||||
#include <windows.h>
|
||||
#include "PCANBasic.h"
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
QApplication a(argc, argv);
|
||||
CMainWindow w;
|
||||
w.show();
|
||||
|
||||
TPCANStatus stsResult;
|
||||
// Initialization of the selected channel
|
||||
stsResult = CAN_Initialize(PCAN_USBBUS1, PCAN_BAUD_500K);
|
||||
|
||||
return a.exec();
|
||||
}
|
||||
Reference in New Issue
Block a user