mirror of
https://github.com/SemvdH/OBD2-car-display.git
synced 2025-12-16 04:31:04 +00:00
Add intro animation
This commit is contained in:
11
due_obd2/obd2_util.h
Normal file
11
due_obd2/obd2_util.h
Normal 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
|
||||
Reference in New Issue
Block a user