|
12345678910111213141516 |
- #include <stdio.h>
- #include <wiringPiSPI.h>
-
-
- class SPI_DMX
- {
- private:
- int uart_filestream;
- unsigned char serial_port;
- unsigned char message[5000];
- public:
- SPI_DMX(unsigned char serial_port);
- ~SPI_DMX();
- void TX_Bytes(unsigned char* tx_buffer, unsigned char tx_size);
- void nice() {printf("nice\n");};
- };
|