forked from TheDIYGuy999/Rc_Engine_Sound_ESP32
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path5_adjustmentsShaker.h
32 lines (25 loc) · 1.53 KB
/
5_adjustmentsShaker.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// The shaker is simulating engine vibrations
// Select the shaker configuration you have:
#define GT_POWER_STOCK // <------- Select (remove //) one of the remote configurations below
//#define GT_POWER_PLASTIC
// SHAKER SETTINGS ********************************************************************************************************************
// GT-Power shaker with brass weight in stock condition ------------------------------------------------------------------------------
// Used in:
// - TAMIYA King Hauler
#ifdef GT_POWER_STOCK
// Shaker parameters (simulating engine vibrations)
const uint8_t shakerStart = 100; // Shaker power while engine start (max. 255, about 100)
const uint8_t shakerIdle = 49; // Shaker power while idling (max. 255, about 49)
const uint8_t shakerFullThrottle = 40; // Shaker power while full throttle (max. 255, about 40)
const uint8_t shakerStop = 60; // Shaker power while engine stop (max. 255, about 60)
#endif
// GT-Power shaker with 3D printed platic weight -------------------------------------------------------------------------------------
// Used in:
// - Hercules Hobby Actros
#ifdef GT_POWER_PLASTIC
// Shaker parameters (simulating engine vibrations)
const uint8_t shakerStart = 100; // Shaker power while engine start (max. 255, about 100)
const uint8_t shakerIdle = 49; // Shaker power while idling (max. 255, about 49)
const uint8_t shakerFullThrottle = 40; // Shaker power while full throttle (max. 255, about 40)
const uint8_t shakerStop = 60; // Shaker power while engine stop (max. 255, about 60)
#endif