Normal
[USER=52265]@TheBatfink[/USER] what kind of arduino are you using?I dont think that the stuff in USBAPI is the right stuff. As most arduinos dont even know usb, but uart. You can connect via usb because they have an extra chip on board that translates from usb to uart and vice versa.So if you have an Leonardo or Micro Pro or any other arduino with an ATmega32u4 this might be the right code, but i still dont think so.If you have an Arduino with an extra ftdi/ch430 chip, please read this https://forum.team-mediaportal.com/threads/diy-in-progress-amblight-project-guide-hyperion-ws2801-ws2812b.128526/page-7#post-1119310If you have an Uno or other Arduino that uses a dedicated ATmega8/16u4 for usb, check out[code]#if !(defined(SERIAL_TX_BUFFER_SIZE) && defined(SERIAL_RX_BUFFER_SIZE))#if (RAMEND < 1000)#define SERIAL_TX_BUFFER_SIZE 16#define SERIAL_RX_BUFFER_SIZE 16#else#define SERIAL_TX_BUFFER_SIZE 64#define SERIAL_RX_BUFFER_SIZE 64#endif#endif[/code]in C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\HardwareSerial.h with latest Arduino IDE (1.6.0).
[USER=52265]@TheBatfink[/USER] what kind of arduino are you using?
I dont think that the stuff in USBAPI is the right stuff. As most arduinos dont even know usb, but uart. You can connect via usb because they have an extra chip on board that translates from usb to uart and vice versa.
So if you have an Leonardo or Micro Pro or any other arduino with an ATmega32u4 this might be the right code, but i still dont think so.
If you have an Arduino with an extra ftdi/ch430 chip, please read this
https://forum.team-mediaportal.com/threads/diy-in-progress-amblight-project-guide-hyperion-ws2801-ws2812b.128526/page-7#post-1119310
If you have an Uno or other Arduino that uses a dedicated ATmega8/16u4 for usb, check out
[code]#if !(defined(SERIAL_TX_BUFFER_SIZE) && defined(SERIAL_RX_BUFFER_SIZE))
#if (RAMEND < 1000)
#define SERIAL_TX_BUFFER_SIZE 16
#define SERIAL_RX_BUFFER_SIZE 16
#else
#define SERIAL_TX_BUFFER_SIZE 64
#define SERIAL_RX_BUFFER_SIZE 64
#endif
#endif[/code]
in C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\HardwareSerial.h with latest Arduino IDE (1.6.0).