Typica is a free program for professional coffee roasters. https://typica.us
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

main.cpp 459B

12345678910111213141516171819
  1. /**
  2. * @file main.cpp
  3. * @brief Main file.
  4. * @author Michal Policht
  5. */
  6. #include <QCoreApplication>
  7. #include "PortListener.h"
  8. int main(int argc, char *argv[])
  9. {
  10. QCoreApplication app(argc, argv);
  11. QString portName = QLatin1String("COM1"); // update this to use your port of choice
  12. PortListener listener(portName); // signals get hooked up internally
  13. // start the event loop and wait for signals
  14. return app.exec();
  15. }