Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5076

General • Re: Need help with Pico based Macropad

$
0
0
Just some observations/comments:
  • PICO does not run an OS so you don't boot it. When you power it on, it starts running the firmware.
  • As noted, the code shown is not properly formatted Python code. Sometimes the installation instructions include sample code
  • Does you code cause the LED to flash? If not, you may have a PICO error. I'd recommend reloading the CircuitPyton UF2 and reloading the CircuitPython program
  • What errors are being reported?
Unfortunately, I only understand MicroPython on the PICO so some of your references don't make sense. I'd suggest also checking the CirpuitPython site where they also have forums https://circuitpython.org/awesome
*FOREHEAD SLAP*

LOL! What the heck is wrong with me!?
I dont know much about coding, but I understand the importance of indentation in coding... and somehow when I looked at that code, I didn't stop to think about that. Totally escaped my mind,... how embarassing.

He should have pasted it in a pastebin or something like that.

Still, I've used other code that was much simpler, and was having trouble even with simple code like blinking the LED on off on off. Its almost as if the Pico is completely ignoring the code.

How do I view the errors?

Statistics: Posted by JFox762 — Tue Mar 19, 2024 1:58 am



Viewing all articles
Browse latest Browse all 5076

Trending Articles