keyboard stuff
1/*
2Copyright 2019 Thomas Baart
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20#define AUDIO_PIN B6
21#define AUDIO_CLICKY
22#define NO_MUSIC_MODE
23
24#define DRV2605L_FB_ERM_LRA 0
25#define DRV2605L_FB_BRAKEFACTOR 3 /* For 1x:0, 2x:1, 3x:2, 4x:3, 6x:4, 8x:5, 16x:6, Disable Braking:7 */
26#define DRV2605L_FB_LOOPGAIN 1 /* For Low:0, Medium:1, High:2, Very High:3 */
27
28/* Please refer to your datasheet for the optimal setting for your specific motor. */
29#define DRV2605L_RATED_VOLTAGE 3
30#define DRV2605L_V_PEAK 5
31
32#define DRV2605L_GREETING DRV2605L_EFFECT_750_MS_ALERT_100
33#define DRV2605L_DEFAULT_MODE DRV2605L_EFFECT_BUZZ_1_100