Add files via upload

This commit is contained in:
stevenhowes
2018-08-28 11:34:23 +01:00
committed by GitHub
parent d2163ce1f0
commit ad2f798089
12 changed files with 422 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
void task_rpm_run()
{
// Calculate our 4-bit table index
rpm_current_index = map(rpm_current_value, rpm_range_min, rpm_range_max, 0, 15);
// Dont exceed table
rpm_current_index = constrain(rpm_current_index,0,15);
}