Tactility.py 3.0.0 and SDK updates for 0.7.0-dev (#19)

- Remove `Libraries/Str`
- Replaced usage of `TactilityC` FreeRtos features with `TactilityFreeRtos` library
- Update `tactility.py`
- Removed redundant code from `TactilityCpp`
This commit is contained in:
Ken Van Hoeylandt
2026-01-04 02:20:06 +01:00
committed by GitHub
parent 3bc1e7a373
commit b6c27b64d4
41 changed files with 521 additions and 1329 deletions
+7 -5
View File
@@ -3,9 +3,9 @@
#include <TactilityCpp/App.h>
#include <tt_app.h>
#include <tt_timer.h>
#include <TactilityCpp/Mutex.h>
#include <Tactility/RecursiveMutex.h>
#include <Tactility/Timer.h>
#include <lvgl.h>
#include <vector>
@@ -14,11 +14,13 @@ class Gpio final : public App {
std::vector<lv_obj_t*> pinWidgets;
std::vector<bool> pinStates;
TimerHandle timer;
Mutex mutex = Mutex(MutexTypeRecursive);
tt::Timer timer = tt::Timer(tt::Timer::Type::Periodic, pdMS_TO_TICKS(100), [this]{
onTimer();
});
tt::RecursiveMutex mutex;
static lv_obj_t* createGpioRowWrapper(lv_obj_t* parent);
static void onTimer(void* parameter);
void onTimer();
public: