Serial1.setup hangs IDE cmd line with Pico #740
Replies: 4 comments
-
Posted at 2015-04-28 by @gfwilliams Does it work if you explicitly set the pins up? My guess is it's defaulting to the lowest numbered pins with serial - A9/10, but one of those is USB vsense, which could maybe cause the chip problems when configured as an output but also fed with 5v. If that's the case I can just disable serial1 using A9 in the next firmware |
Beta Was this translation helpful? Give feedback.
-
Posted at 2015-04-29 by LawrenceGrif -- Does it work if you explicitly set the pins up? Also can I clarify my understanding Serailx x is an instance of serial class/obj.
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2015-04-29 by @gfwilliams
Try this:
It works for me. I think you weren't capitalising the pin names so they were just being set to
Afraid not - |
Beta Was this translation helpful? Give feedback.
-
Posted at 2015-04-29 by LawrenceGrif @gordon thanks as always now cooking on gas! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2015-04-28 by LawrenceGrif
This works on original Espruion but hangs IDE cmd line window on Pico 1v75 & 1v77
Do I need to do something different on Pico?
Change to serial 2 works fine
Thanks
Beta Was this translation helpful? Give feedback.
All reactions