Typica is a free program for professional coffee roasters. https://typica.us
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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. }