add getting state string from bt driver

This commit is contained in:
Sem van der Hoeven
2024-01-14 12:54:20 +01:00
parent 3ea9e7bfe4
commit 15d560f426
4 changed files with 62 additions and 13 deletions

View File

@@ -3,6 +3,8 @@
#include <math.h>
#define SIZE_OF(a) sizeof(a) / sizeof(a[0])
float logo_step(float x)
{
return (float)(25 / (0.2 + exp((double)((-0.08 * x) + 3))));