Replies: 3 comments 2 replies
-
|
I assume you have the LA Gnd connected to the device Gnd. The three backticks do work, BTW: print("The backticks work.") |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
And if you have a 'combining' keyboard layout (á à â), then you need to press backticks six times. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
That's an interesting problem. Why don't you show us your code? Maybe it's not Thonny or the USB port at all. Making an LED blink in a loop is definitely a good idea. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi All,
I'm confused. I've developed a system (using Micropython) to write an output stream to a pin . It works perfectly when the device is plugged into my computer, but doesn't when it's plugged into a battery. I've confirmed the battery is fully charged and is delivering five volts to the usb plug (it has two 18650 cells). I have also confirmed that the code is executing with the battery by putting some led flashing code in the loop, and the led does flash so the command is definitely being executed. I'm using a logic analyser (cheap Chinses knockoff, but it works) connected to the output pin, and Saleae Logic Analyser 2 to display the output on my PC.
The really confusing thing is, it does it on three different devices. An ESP32 (using the RMT function), a Weact Blackpill (STM32 based) using a timer, and a Pi Pico using a PIO.
What am I doing wrong? What am I missing?
Happy to share code if you think it will help, but it's completely different for all three devices of course. And I couldn't get the backticks to work...
The only other weirdness is that the logic analyser picks up lots of tiny spikes, typically 1us, but sometimes 2us, when it's plugged into the device when it's not powered up. When it's powered by the battery, again there are lots of 1us or 2us spikes, but a lot more of them than when it's not powered. When connected to the PC, whether Thonny is running or not, it works perfectly. No spikes at all, just a beautiful clean signal.
All advice gratefully received.
:-)
Beta Was this translation helpful? Give feedback.
All reactions