|Figure 1. Physical structure of the pump-related components of the relay system.|
Davina also experimented with creating a new GUI in Qt to integrate with the blinking LED Arduino serial sketch. She was able to make a GUI very similar to the last, in which a slider supposedly allowed the user to adjust the interval between blinks, but because of the loop structure of the code, only the first integer registered (being 1) went through, so the LED could only blink at intervals of one second. There are still complications on creating a termination button in the GUI, but they should be figured out pretty quickly. Figure 2 shows a snippet of code and some errors in building the application.
|Figure 2. Application output issues with the custom Qt application.|