Closed Ms3pro closed 1 year ago
It turned out to be easy for me, and now there is nano support. The studio tuner loses connection periodically, loses connection every few seconds, then turns on again. For nano, you need to reduce the speed of the serial port to 57600.
Hi, This is a little odd becuase the Nano and the Uno use the same microcontroller. I don't know why the Nano would need a slower serial data rate. When i tested with an Uno I had no issues. I guess a slower baud rate would help with any electrical noise but not sure why you are having that problem in the first place. Were there any other code changes you had to make to compile for the Nano?
Maybe it 's really electro noise . In the code , I just added nano wherever there is a choice of boards .
HardwareSerial &AUX_SERIALLink = Serial3; // setup which serial port connects to the speeduino secondary serial
HardwareSerial &TS_SERIALLink = Serial; // setup which serial port connects to TS
HardwareSerial &AUX_SERIALLink = Serial; // setup which serial port connects to the speeduino secondary serial
HardwareSerial &TS_SERIALLink = Serial; // setup which serial port connects to TS
HardwareSerial &AUX_SERIALLink = Serial; // setup which serial port connects to the speeduino secondary serial
HardwareSerial &TS_SERIALLink = Serial; // setup which serial port connects to TS
#error Incorrect board selected. Currently AVR Mega2560 and NANO and UNO supported. Please select the correct board and upload again
extern "C" char* sbrk(int incr); //Used by UTIL_freeRam inline unsigned char digitalPinToInterrupt(unsigned char Interrupt_pin) { return Interrupt_pin; } //This isn't included in the stm32duino libs (yet)
// now set specific processor compile flags
Hi! Can I add Arduino NANO support ?