Add intro animation

This commit is contained in:
Sem van der Hoeven
2023-11-26 22:57:19 +01:00
parent e0af359cdd
commit e08b84c102
3 changed files with 64 additions and 1 deletions

11
due_obd2/obd2_util.h Normal file
View File

@@ -0,0 +1,11 @@
#ifndef OBD2_UTIL_H
#define OBD2_UTIL_H
#include <math.h>
float logo_step(float x)
{
return (float)(25 / (0.2 + exp((double)((-0.08 * x) + 3))));
}
#endif