Skip to content

Commit 67c6d2e

Browse files
adamgreenfacchinm
authored andcommitted
Switch sample to use SerialUSB
I commented out the UART1 test and switched to using SerialUSB instead. This work with my setup when I use a full-speed hub but not via high speed USB. I am starting to get suspicious that it might have something to do with my USB-C cable so I am pushing up this change for others to try.
1 parent 8b62f65 commit 67c6d2e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libraries/ThreadMRI/examples/ThreadMRI/ThreadMRI.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55

66
#include <ThreadMRI.h>
77

8-
ThreadMRI g_debugger(Serial1, USART1_IRQn, 115200, true);
8+
//ThreadMRI g_debugger(Serial1, USART1_IRQn, 115200, true);
9+
ThreadMRI g_debugger(Serial, OTG_HS_IRQn, 115200, true);
910

1011
extern "C" void testContext(void);
1112

0 commit comments

Comments
 (0)