summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/promethium/promethium.h
diff options
context:
space:
mode:
authormilestogo <milestogo@users.noreply.github.com>2017-02-11 22:11:06 -0800
committermilestogo <milestogo@users.noreply.github.com>2017-02-11 22:11:06 -0800
commit2d655b18303620efc8eeb8529274a106cd438fd8 (patch)
treed96cfcc56e80ae278c3806608e4689116939e9a5 /keyboards/handwired/promethium/promethium.h
parent41c93575a838e9b201ca113165085f47198e109d (diff)
parenta0c2305bd1153d9d578d73effd33896c2dbc26c8 (diff)
Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware
Diffstat (limited to 'keyboards/handwired/promethium/promethium.h')
-rw-r--r--keyboards/handwired/promethium/promethium.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/keyboards/handwired/promethium/promethium.h b/keyboards/handwired/promethium/promethium.h
index 662eeab990..da37e5c560 100644
--- a/keyboards/handwired/promethium/promethium.h
+++ b/keyboards/handwired/promethium/promethium.h
@@ -4,6 +4,11 @@
#include "quantum.h"
#define PS2_INIT_DELAY 2000
+#define UNICODE_TYPE_DELAY 0
+#define BATTERY_PIN 9
+#define BATTERY_POLL 30000
+#define MAX_VOLTAGE 4.2
+#define MIN_VOLTAGE 3.2
#define KEYMAP( \
k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, \
@@ -22,6 +27,8 @@
{k47, k48, k49, k4a, k4b, k4c} \
}
+
+
enum led_sequence {
LED_IND_BLUETOOTH,
LED_IND_USB,
@@ -98,4 +105,4 @@ enum led_sequence {
#endif
-
+void battery_poll(uint8_t level); \ No newline at end of file