summaryrefslogtreecommitdiff
path: root/SPI.h
diff options
context:
space:
mode:
authorJoshua Drake <joshua.ellis.drake@gmail.com>2024-03-07 12:48:29 -0600
committerJoshua Drake <joshua.ellis.drake@gmail.com>2024-03-07 12:48:29 -0600
commitfe7e5b97a50fa66aadb11e20b8f5210e1cb6dde6 (patch)
tree0ae70b523a873f04221fc3f492c6e2a65b3f7252 /SPI.h
parentef97092cd93ce28fb72980e7594a80577545016f (diff)
Finished Arduino Program.
Diffstat (limited to 'SPI.h')
-rw-r--r--SPI.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/SPI.h b/SPI.h
index 64a492f..a408da7 100644
--- a/SPI.h
+++ b/SPI.h
@@ -8,7 +8,8 @@
#ifndef XC_SPI_H
#define XC_SPI_H
-#include "mcc_generated_files/mssp1_spi.h"
+#include "stdint.h"
+
#define MY_BUFFER_SIZE 6 //3 Devices, each of which is 16 bit. (16/8)*3=6
@@ -31,7 +32,7 @@
PWMMAP //Selects one of the two PWM generators
};
- void Message_OUT(uint8_t Ohm_150, uint8_t Ohm_68, bool testLED);
+ void Message_OUT(uint8_t Ohm_150, uint8_t Ohm_68, uint8_t testLED);
/**
@Summary
Enables a selected quantity of 150 ohm resistors and 68 ohm resistors.