Raspberry Pi Weighting Control System
This project serves as a simple weighting control system, that was realized as a Bachelor Thesis
|
#include "app_workspace.h"
#include <stdio.h>
#include <spdlog/spdlog.h>
#include "imgui.h"
#include "localisation.h"
#include "gui_label.h"
#include "unistd.h"
Go to the source code of this file.
Functions | |
void | threaded_values_read () |
This function is started in a new thread for reading HX711 values. More... | |
void | threaded_tare () |
This function is started in a new thread for taring HX711. More... | |
void | threaded_calibration () |
This function is started in a new thread for calibrating HX711. More... | |
void | threaded_values_read_looped () |
This function is started in a new thread for reading HX711 values in a loop. This reading is done in intervals. More... | |
void | threaded_measuring_watchdog (bool *msring, std::vector< HX711::Value > **watcher) |
When an HX711 reading is started, when creating new thread, this thread is created as well. This thread serves for measuring values written by HX711. More... | |
void threaded_calibration | ( | ) |
This function is started in a new thread for calibrating HX711.
Definition at line 1000 of file app_workspace.cpp.
void threaded_measuring_watchdog | ( | bool * | msring, |
std::vector< HX711::Value > ** | watcher | ||
) |
When an HX711 reading is started, when creating new thread, this thread is created as well. This thread serves for measuring values written by HX711.
msring | When this is set to false, watchdog is stopped |
watcher | Values, that are watched |
Definition at line 1200 of file app_workspace.cpp.
void threaded_tare | ( | ) |
This function is started in a new thread for taring HX711.
Definition at line 950 of file app_workspace.cpp.
void threaded_values_read | ( | ) |
This function is started in a new thread for reading HX711 values.
Definition at line 844 of file app_workspace.cpp.
void threaded_values_read_looped | ( | ) |
This function is started in a new thread for reading HX711 values in a loop. This reading is done in intervals.
Definition at line 1066 of file app_workspace.cpp.