aboutsummaryrefslogtreecommitdiffstats
path: root/PICCode.X/bufferlib.h
diff options
context:
space:
mode:
authorMatt Strapp <strap012@umn.edu>2021-03-28 10:12:10 -0500
committerMatt Strapp <strap012@umn.edu>2021-03-28 10:12:10 -0500
commitf3f8cbd69e290ccbd60f9cbc0b1d9b63645127bb (patch)
treedd3ab9128eee3ca38e86f83d705526d596c0f732 /PICCode.X/bufferlib.h
parentAdded intial PIC24 Firmware (diff)
downloadee3102-f3f8cbd69e290ccbd60f9cbc0b1d9b63645127bb.tar
ee3102-f3f8cbd69e290ccbd60f9cbc0b1d9b63645127bb.tar.gz
ee3102-f3f8cbd69e290ccbd60f9cbc0b1d9b63645127bb.tar.bz2
ee3102-f3f8cbd69e290ccbd60f9cbc0b1d9b63645127bb.tar.lz
ee3102-f3f8cbd69e290ccbd60f9cbc0b1d9b63645127bb.tar.xz
ee3102-f3f8cbd69e290ccbd60f9cbc0b1d9b63645127bb.tar.zst
ee3102-f3f8cbd69e290ccbd60f9cbc0b1d9b63645127bb.zip
Add a basic VtoI function
Also rearrange things and commit iconoclasm
Diffstat (limited to 'PICCode.X/bufferlib.h')
-rw-r--r--PICCode.X/bufferlib.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/PICCode.X/bufferlib.h b/PICCode.X/bufferlib.h
new file mode 100644
index 0000000..a218b8b
--- /dev/null
+++ b/PICCode.X/bufferlib.h
@@ -0,0 +1,18 @@
+#ifndef BUFFER_HEADER
+#define BUFFER_HEADER
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+ void putVal(int newValue);
+ int getAvg();
+ void initBuffer();
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
+