summaryrefslogtreecommitdiff
path: root/keyboards/lazydesigners/dimple/staggered/staggered.c
diff options
context:
space:
mode:
authorjackytrabbit <jacky_lijun@126.com>2022-02-21 17:03:18 +0800
committerGitHub <noreply@github.com>2022-02-21 10:03:18 +0100
commitae5f43072f0de93b65854af569ba90564b8003de (patch)
treea6536177910b590cc3a2ebed0c1c1b60736e573e /keyboards/lazydesigners/dimple/staggered/staggered.c
parentf252287b0ec08f1b977cb7bfa4279db4499e8a88 (diff)
Update the support for lazydesigners/dimple (#14797)
Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/lazydesigners/dimple/staggered/staggered.c')
-rw-r--r--keyboards/lazydesigners/dimple/staggered/staggered.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/keyboards/lazydesigners/dimple/staggered/staggered.c b/keyboards/lazydesigners/dimple/staggered/staggered.c
new file mode 100644
index 0000000000..2cd8c018db
--- /dev/null
+++ b/keyboards/lazydesigners/dimple/staggered/staggered.c
@@ -0,0 +1,23 @@
+/* Copyright 2019 Erovia
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+#include "staggered.h"
+void dimple_led_on() {
+ writePinLow(E6);
+ }
+
+ void dimple_led_off() {
+ writePinHigh(E6);
+ }