aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-pcint.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2023-11-02 17:16:25 -0600
committerSelene ToyKeeper2023-11-02 17:16:25 -0600
commit7cb4fe0944b839f28dfd96a88a772cd6a8b58019 (patch)
tree8d3b203f1650edc28b1f67e1589e3bc870b33fa6 /spaghetti-monster/fsm-pcint.h
parentadded LICENSE (GPLv3) (diff)
downloadanduril-7cb4fe0944b839f28dfd96a88a772cd6a8b58019.tar.gz
anduril-7cb4fe0944b839f28dfd96a88a772cd6a8b58019.tar.bz2
anduril-7cb4fe0944b839f28dfd96a88a772cd6a8b58019.zip
reorganized project files (part 1)
(just moved files, didn't change the contents yet, and nothing will work without updating #includes and build scripts and stuff)
Diffstat (limited to 'spaghetti-monster/fsm-pcint.h')
-rw-r--r--spaghetti-monster/fsm-pcint.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/spaghetti-monster/fsm-pcint.h b/spaghetti-monster/fsm-pcint.h
deleted file mode 100644
index cd7ba02..0000000
--- a/spaghetti-monster/fsm-pcint.h
+++ /dev/null
@@ -1,15 +0,0 @@
-// fsm-pcint.h: PCINT (Pin Change Interrupt) functions for SpaghettiMonster.
-// Copyright (C) 2017-2023 Selene ToyKeeper
-// SPDX-License-Identifier: GPL-3.0-or-later
-
-#pragma once
-
-volatile uint8_t irq_pcint = 0; // pin change interrupt happened?
-//static volatile uint8_t button_was_pressed;
-#define BP_SAMPLES 32
-volatile uint8_t button_last_state;
-uint8_t button_is_pressed();
-inline void PCINT_on();
-inline void PCINT_off();
-void PCINT_inner(uint8_t pressed);
-