summaryrefslogtreecommitdiff
path: root/Resources/OpenPLCv2/firmware/ADC.test.arduino/spi_ads1018
diff options
context:
space:
mode:
Diffstat (limited to 'Resources/OpenPLCv2/firmware/ADC.test.arduino/spi_ads1018')
-rw-r--r--Resources/OpenPLCv2/firmware/ADC.test.arduino/spi_ads1018/spi_ads1018.ino21
1 files changed, 0 insertions, 21 deletions
diff --git a/Resources/OpenPLCv2/firmware/ADC.test.arduino/spi_ads1018/spi_ads1018.ino b/Resources/OpenPLCv2/firmware/ADC.test.arduino/spi_ads1018/spi_ads1018.ino
deleted file mode 100644
index 8e1290a..0000000
--- a/Resources/OpenPLCv2/firmware/ADC.test.arduino/spi_ads1018/spi_ads1018.ino
+++ /dev/null
@@ -1,21 +0,0 @@
-
-#include<SPI.h>
-
-/* ADS1018 settings */
-
-const long int speedMaximum = 4000000; // frequency of communication
-const char dataOrder = MSBFIRST;
-const char dataMode = SPI_MODE1;
-
-void setup() {
-
- Serial.begin(9600); //start serial
- SPI.begin(); // start SPI library
-
-}
-
-void loop() {
-
- SPI.beginTransaction(SPISettings(speedMaximum, dataOrder, dataMode));
-
-}