git clone --recurse-submodules [email protected]:spetroce/flip_dot_test.git
or
git clone [email protected]:spetroce/flip_dot_test.git
cd flip_dot_test #ie. change to root repo directory
git submodule update --init --recursive
By default, the cmake option WITH_QT is set and cmake will try find Qt5 and build this program with a graphical interface. If the option is turned off or Qt5 could not be found by cmake, the program will build with a command line only interface. The command line interface only takes as input the serial device path and runs a segment test followed by a number test. The graphical interface allows you to run tests at will with push buttons.
cd flip_dot_test #ie. change to root repo directory
mkdir build
cd build
cmake ..
make
cd flip_dot_test/build
./flip_dot_test
cd flip_dot_test/build
./flip_dot_test /path/to/serial/dev
The path to the serial device must be first argument.
Example usage:
./flip_dot_test /dev/ttyUSB0