Création du projet Otarcik_CAN

This commit is contained in:
2023-01-06 12:26:34 -05:00
parent 6f3b9eba51
commit 4cfabfb2ad
15 changed files with 2752 additions and 0 deletions
+17
View File
@@ -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();
}