diff --git a/.vscode/ipch/1a3be5cd894ba0e/COLOR.ipch b/.vscode/ipch/1a3be5cd894ba0e/COLOR.ipch
deleted file mode 100644
index c5aab4a8b57bf0557d4e92112d92722412f6fd7a..0000000000000000000000000000000000000000
Binary files a/.vscode/ipch/1a3be5cd894ba0e/COLOR.ipch and /dev/null differ
diff --git a/.vscode/ipch/1a3be5cd894ba0e/mmap_address.bin b/.vscode/ipch/1a3be5cd894ba0e/mmap_address.bin
deleted file mode 100644
index 862b8428b9e068428b1a4e8a38f94019008d8940..0000000000000000000000000000000000000000
Binary files a/.vscode/ipch/1a3be5cd894ba0e/mmap_address.bin and /dev/null differ
diff --git a/.vscode/ipch/20df2b6c70cb32ce/mmap_address.bin b/.vscode/ipch/20df2b6c70cb32ce/mmap_address.bin
deleted file mode 100644
index 862b8428b9e068428b1a4e8a38f94019008d8940..0000000000000000000000000000000000000000
Binary files a/.vscode/ipch/20df2b6c70cb32ce/mmap_address.bin and /dev/null differ
diff --git a/.vscode/ipch/22d6f46072561087/SPISENDER.ipch b/.vscode/ipch/22d6f46072561087/SPISENDER.ipch
deleted file mode 100644
index acd5adf7ef55795cc8d2d096664e3ec6898ddd62..0000000000000000000000000000000000000000
Binary files a/.vscode/ipch/22d6f46072561087/SPISENDER.ipch and /dev/null differ
diff --git a/.vscode/ipch/22d6f46072561087/mmap_address.bin b/.vscode/ipch/22d6f46072561087/mmap_address.bin
deleted file mode 100644
index 862b8428b9e068428b1a4e8a38f94019008d8940..0000000000000000000000000000000000000000
Binary files a/.vscode/ipch/22d6f46072561087/mmap_address.bin and /dev/null differ
diff --git a/.vscode/ipch/292a4a4df9057e17/mmap_address.bin b/.vscode/ipch/292a4a4df9057e17/mmap_address.bin
deleted file mode 100644
index 862b8428b9e068428b1a4e8a38f94019008d8940..0000000000000000000000000000000000000000
Binary files a/.vscode/ipch/292a4a4df9057e17/mmap_address.bin and /dev/null differ
diff --git a/.vscode/ipch/415bfd23c308cde5/SPI_TEST.ipch b/.vscode/ipch/415bfd23c308cde5/SPI_TEST.ipch
deleted file mode 100644
index 0c4fe43a84797822d1a91c566c437c696a987ef2..0000000000000000000000000000000000000000
Binary files a/.vscode/ipch/415bfd23c308cde5/SPI_TEST.ipch and /dev/null differ
diff --git a/.vscode/ipch/415bfd23c308cde5/mmap_address.bin b/.vscode/ipch/415bfd23c308cde5/mmap_address.bin
deleted file mode 100644
index 862b8428b9e068428b1a4e8a38f94019008d8940..0000000000000000000000000000000000000000
Binary files a/.vscode/ipch/415bfd23c308cde5/mmap_address.bin and /dev/null differ
diff --git a/.vscode/ipch/68fac7067124c1/SPIFRAME.ipch b/.vscode/ipch/68fac7067124c1/SPIFRAME.ipch
deleted file mode 100644
index eb0d1e27e497fc024c6d74940a0aa4af248a2b91..0000000000000000000000000000000000000000
Binary files a/.vscode/ipch/68fac7067124c1/SPIFRAME.ipch and /dev/null differ
diff --git a/.vscode/ipch/68fac7067124c1/mmap_address.bin b/.vscode/ipch/68fac7067124c1/mmap_address.bin
deleted file mode 100644
index 862b8428b9e068428b1a4e8a38f94019008d8940..0000000000000000000000000000000000000000
Binary files a/.vscode/ipch/68fac7067124c1/mmap_address.bin and /dev/null differ
diff --git a/.vscode/ipch/80efaa26b65089b/mmap_address.bin b/.vscode/ipch/80efaa26b65089b/mmap_address.bin
deleted file mode 100644
index 862b8428b9e068428b1a4e8a38f94019008d8940..0000000000000000000000000000000000000000
Binary files a/.vscode/ipch/80efaa26b65089b/mmap_address.bin and /dev/null differ
diff --git a/.vscode/ipch/8ca26349501509fe/MXFRAME.ipch b/.vscode/ipch/8ca26349501509fe/MXFRAME.ipch
deleted file mode 100644
index 751259b0ff628b2e1e77ef593aaee44a0d3313d4..0000000000000000000000000000000000000000
Binary files a/.vscode/ipch/8ca26349501509fe/MXFRAME.ipch and /dev/null differ
diff --git a/.vscode/ipch/8ca26349501509fe/mmap_address.bin b/.vscode/ipch/8ca26349501509fe/mmap_address.bin
deleted file mode 100644
index 862b8428b9e068428b1a4e8a38f94019008d8940..0000000000000000000000000000000000000000
Binary files a/.vscode/ipch/8ca26349501509fe/mmap_address.bin and /dev/null differ
diff --git a/.vscode/ipch/cbd7cd132479f03e/COLOR.ipch b/.vscode/ipch/cbd7cd132479f03e/COLOR.ipch
deleted file mode 100644
index adab8c1690b3cc82a4d12beca254da4602b3212f..0000000000000000000000000000000000000000
Binary files a/.vscode/ipch/cbd7cd132479f03e/COLOR.ipch and /dev/null differ
diff --git a/.vscode/ipch/cbd7cd132479f03e/mmap_address.bin b/.vscode/ipch/cbd7cd132479f03e/mmap_address.bin
deleted file mode 100644
index 862b8428b9e068428b1a4e8a38f94019008d8940..0000000000000000000000000000000000000000
Binary files a/.vscode/ipch/cbd7cd132479f03e/mmap_address.bin and /dev/null differ
diff --git a/spi_test2.cpp b/spi_test2.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..341e5a3a079e2c7a3a8dea55cddad40f47f1a98a
--- /dev/null
+++ b/spi_test2.cpp
@@ -0,0 +1,49 @@
+
+#include <stdio.h>
+#include <errno.h>
+#include <wiringPiSPI.h>
+#include <unistd.h>
+#include <stdint.h>
+
+using namespace std;
+
+// channel is the wiringPi name for the chip select (or chip enable) pin.
+// Set this to 0 or 1, depending on how it's connected.
+static const int CHANNEL = 0;
+static const int LED_NUM = 64;
+
+
+int main(int argc, char** argv)
+{
+   int fd, result;
+   uint16_t buffer[LED_NUM * 24+1] = {0};
+   uint8_t dummy[2] = {70, 80};
+//   wiringPiSPIDataRW(CHANNEL, dummy, 2);
+
+//   wiringPiSPIDataRW(CHANNEL, (unsigned char*)dummy, 2);
+        for(int i = 0; i < LED_NUM*24; i++)
+        {
+                if (argc > 1 && i % 24 == 5)
+                buffer[i] = 0xFFFF;
+        }
+
+   printf("Initializing\n");
+
+   // Configure the interface.
+   // CHANNEL insicates chip select,
+   // 500000 indicates bus speed.
+   fd = wiringPiSPISetup(CHANNEL, 1800000);
+
+   printf("Init result: %d\n", fd);
+
+   if (argc > 2)
+   {
+      wiringPiSPIDataRW(CHANNEL, (unsigned char*)dummy, 1);
+      printf("dummyend\n");
+      sleep(1);
+   }
+   wiringPiSPIDataRW(CHANNEL, (unsigned char*)buffer, LED_NUM*24*2);
+   wiringPiSPIDataRW(CHANNEL, (unsigned char*)dummy, 1);
+   printf("Done\n");
+   close(fd);
+}
\ No newline at end of file