summaryrefslogtreecommitdiff
path: root/Resources/OpenPLCv2/firmware/ADC.test.arduino/spi_ads1018/spi_ads1018.ino
diff options
context:
space:
mode:
authorVishnu Easwaran E2020-08-10 12:44:59 +0530
committerGitHub2020-08-10 12:44:59 +0530
commitc76c13209edef0efe7562685ba1b3b7017221679 (patch)
tree7e531c6afdad83ad9e6781c5e0ea42e23f5c3784 /Resources/OpenPLCv2/firmware/ADC.test.arduino/spi_ads1018/spi_ads1018.ino
parent381c57f811249833341c0e394fb48460d4b175b1 (diff)
parentc3659645dd417f5c35424f7c174597d0ffd7e926 (diff)
downloadOpenPLC-c76c13209edef0efe7562685ba1b3b7017221679.tar.gz
OpenPLC-c76c13209edef0efe7562685ba1b3b7017221679.tar.bz2
OpenPLC-c76c13209edef0efe7562685ba1b3b7017221679.zip
Merge pull request #12 from VishnuEaswaran/vishnuDev
Updating repo structure and documentation
Diffstat (limited to 'Resources/OpenPLCv2/firmware/ADC.test.arduino/spi_ads1018/spi_ads1018.ino')
-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));
-
-}