UART PIN TX0 not working?


#1

Trying to use UART PIN TX0 on DASH with DASH 7.0.1 (because I’m using analog pins >=7). I noticed with my USB to TTL UART converter isn’t picking anything up. But I do see my debug strings going out over USB still and I’m using Serial.begin() in my setup. I only connected TX and GND to my USB TTL converter but that really should matter. Forgot to mention, I didn’t see anything on the scope, the line was held high.

Example code that I used to confirm that I’m using the right serial command.

#ifdef DEBUG
#warning USB SERIAL DEBUG
#define DEBUG_PRINT SerialUSB.print
#define DEBUG_PRINTLN SerialUSB.println
#else
#ifdef _DEBUG_SERIAL
#warning HW SERIAL DEBUG
#define DEBUG_PRINT Serial.print
#define DEBUG_PRINTLN Serial.println
#else
#warning No SERIAL DBG
#define DEBUG_PRINT
#define DEBUG_PRINTLN
#endif
#endif


#2

Serial and SerialUSB are actually the same thing. Serial2 gets you UART serial access.

(I know that’s a little confusing. We’ll need to document this better.)


#3