You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

SPI_DMX.h 311B

12345678910111213141516
  1. #include <stdio.h>
  2. #include <wiringPiSPI.h>
  3. class SPI_DMX
  4. {
  5. private:
  6. int uart_filestream;
  7. unsigned char serial_port;
  8. unsigned char message[5000];
  9. public:
  10. SPI_DMX(unsigned char serial_port);
  11. ~SPI_DMX();
  12. void TX_Bytes(unsigned char* tx_buffer, unsigned char tx_size);
  13. void nice() {printf("nice\n");};
  14. };