##// END OF EJS Templates
Cleaned path to use as hg submodule of lppmon_sdk or any other project.
Cleaned path to use as hg submodule of lppmon_sdk or any other project.

File last commit:

r5:4e6b18a64911 default
r5:4e6b18a64911 default
Show More
mainwindow.cpp
16 lines | 377 B | text/x-c | CppLexer
#include "mainwindow.h"
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
{
qint32 baseAddress = 0x8000100;
testWidget = new peripheralWidget("UART1",baseAddress,this);
for(int i=0;i<10;i++)
testWidget->addRegister(QString("REG%1").arg((uint)i),baseAddress+(i*4));
this->setCentralWidget(testWidget);
}
MainWindow::~MainWindow()
{
}