„DMX_Interface.cpp“ löschen

This commit is contained in:
Lars Mewes 2022-02-17 10:35:29 +00:00
parent d21b367a87
commit 977f4896d1

View File

@ -1,21 +0,0 @@
#include <stdio.h>
//#include "UART.h"
#include <wiringPiSPI.h>
#include "SPI_DMX.h"
# define measure_length(type) ((char *)(&type+1)-(char*)(&type))
/* demo.c: My first C program on a Linux */
int main(void)
{
printf("Hello! This is a test prgoram.\n");
SPI_DMX spi1(0);
spi1.nice();
unsigned char message[4] = {0x55,0x66,0x55,0x66};
//uart.TX_Bytes(message,measure_length(message));
spi1.TX_Bytes(message,4);
return 0;
}