1
0
Fork 0

Promethium rev2

* 10 more indicator LEDs
* Piezo buzzer
* Uses HC138 decoder to free up 5 pins
* Trackpoint buttons are now part of matrix
This commit is contained in:
Priyadi Iman Nurcahyo 2017-04-19 01:38:08 +07:00
parent ae8ac581c0
commit 93b2f23bba
7 changed files with 374 additions and 30 deletions

View file

@ -2,6 +2,11 @@
#include "analog.h"
#include "timer.h"
#include "matrix.h"
#include "musical_notes.h"
float fauxclicky_pressed_note[2] = MUSICAL_NOTE(_F3, .03125);
float fauxclicky_released_note[2] = MUSICAL_NOTE(_C3, .03125);
float fauxclicky_beep_note[2] = MUSICAL_NOTE(_C3, .03125);
// cubic fit {3.3, 0}, {3.5, 2.9}, {3.6, 5}, {3.7, 8.6}, {3.8, 36}, {3.9, 62}, {4.0, 73}, {4.05, 83}, {4.1, 89}, {4.15, 94}, {4.2, 100}