Same as the more generic micropython/blink_gpio.py but with the onboard LED added.
Blink on-board LED. Note that they broke the LED hello world compatibility from non-W to W for God's sake!!!
The MicroPython code needs to be changed from the Raspberry Pi Pico 1, forums.raspberrypi.com/viewtopic.php?p=2016234#p2016234 comments:
Tested on Ubuntu 25.04,
sudo apt install libusb-1.0-0-dev
git clone https://github.com/raspberrypi/pico-sdk
git clone https://github.com/raspberrypi/picotool
cd picotool
git checkout de8ae5ac334e1126993f72a5c67949712fd1e1a4
export PICO_SDK_PATH="$(pwd)/../pico-sdk"
mkdir build
cd build
cmake ..
cmake --build . -- -j"$(npro)" VERBOSE=1
build/picotool
so copy it somewhere in your PATH
like:cp picotool ~/bin
sudo ~/bin/picotool load -f build/zephyr/zephyr.uf2
No accessible RP2040 devices in BOOTSEL mode were found
pico_enable_stdio_usb(blink 1)
Never unplug your Raspberry Pi Pico again by deltocode
. Source. The Zephir LED blinker example does not work on the Raspberry Pi Pico W because the on-board LED is wired differently. But the hello world works and with:host shows:Nice!
screen /dev/ttyUSB0 115200
*** Booting Zephyr OS build v4.2.0-491-g47b07e5a09ef ***
Hello World! rpi_pico/rp2040
This section is about the original Raspberry Pi Pico board. The "1" was added retroactively to the name as more boards were released and "Raspberry Pi Pico" became a generic name for the brand.
This is a major design flaw, that the only easy default way is that you have to unplug, press bootsel, replug:
Involved in the CIA 2010 covert communication websites affair.
- 2018-01-16
- www.nbcnews.com/news/us-news/ex-cia-officer-jerry-chun-shing-lee-suspected-spying-china-n838186 Ex-CIA officer Jerry Chun Shing Lee suspected of spying for China - NBC News
- www.politico.com/f/?id=00000161-05bd-dcd4-a96b-35bda0f10001 Affidavit for Jerry Chun Shin Lee
- 2018-01-20 www.nbcnews.com/news/china/cia-china-turncoat-lee-may-have-compromised-u-s-spies-n839316 Alleged CIA China turncoat Lee may have compromised U.S. spies in Russia too
- 2019-11-22 www.justice.gov/archives/opa/pr/former-cia-officer-sentenced-conspiracy-commit-espionage Former CIA Officer Sentenced for Conspiracy to Commit Espionage - US Dept of Justice
Jerry Chun Shing Lee in blue tie at the unveiling of Leonardo da Vinci's 'Salvator Mundi' painting at the Christie's showroom in Hong Kong on Oct. 13, 2017
. Source. Blinks the on-board LED if the board has one.
Does not work on:
- Micro Bit: build fails
- Raspberry Pi Pico W: build works but does nothing because the LED is connected differently
Note that the LED blinker example does not work on the Raspberry Pi Pico W, see also: Run Zephyr on Raspberry Pi Pico W.
You can speed up the debug loop a little bit by plugging the Pi with BOOTSEL selected, and then running:This flashes the image, and immediately turns off BOOTSEL mode and runs the program.
west flash --runner uf2
However to run again you need to unplug the USB and re-plug with BOOTSEL again so it is still painful.
Getting started on Ubuntu 25.04: see: Program Raspberry Pi Pico W with X.
Then ignore the other steps from the tutorial, as theese use the picozero package, which is broken with this error: github.com/raspberrypilearning/getting-started-with-the-pico/issues/57and uses picozero specific code. Rather, just use our examples from rpi-pico-w.
AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'
The "exascale hypothesis" is a name made up by Ciro Santilli to refer to the hypothesis that the real-time human brain simulation becomes possible at exascale computing.
It is a simple extrapolation from the number of synapses in the human brain () times the number of times each neuron fires per second.
This is the hello world program of microcontrollers: blinking and LED! Many boards have an on-board LED, making this a convenient hello world that does not require any external components.
- web development
- video game
- Doom is the hello world shooter game
Pinned article: Introduction to the OurBigBook Project
Welcome to the OurBigBook Project! Our goal is to create the perfect publishing platform for STEM subjects, and get university-level students to write the best free STEM tutorials ever.
Everyone is welcome to create an account and play with the site: ourbigbook.com/go/register. We belive that students themselves can write amazing tutorials, but teachers are welcome too. You can write about anything you want, it doesn't have to be STEM or even educational. Silly test content is very welcome and you won't be penalized in any way. Just keep it legal!
Intro to OurBigBook
. Source. We have two killer features:
- topics: topics group articles by different users with the same title, e.g. here is the topic for the "Fundamental Theorem of Calculus" ourbigbook.com/go/topic/fundamental-theorem-of-calculusArticles of different users are sorted by upvote within each article page. This feature is a bit like:
- a Wikipedia where each user can have their own version of each article
- a Q&A website like Stack Overflow, where multiple people can give their views on a given topic, and the best ones are sorted by upvote. Except you don't need to wait for someone to ask first, and any topic goes, no matter how narrow or broad
This feature makes it possible for readers to find better explanations of any topic created by other writers. And it allows writers to create an explanation in a place that readers might actually find it.Figure 1. Screenshot of the "Derivative" topic page. View it live at: ourbigbook.com/go/topic/derivativeVideo 2. OurBigBook Web topics demo. Source. - local editing: you can store all your personal knowledge base content locally in a plaintext markup format that can be edited locally and published either:This way you can be sure that even if OurBigBook.com were to go down one day (which we have no plans to do as it is quite cheap to host!), your content will still be perfectly readable as a static site.
- to OurBigBook.com to get awesome multi-user features like topics and likes
- as HTML files to a static website, which you can host yourself for free on many external providers like GitHub Pages, and remain in full control
Figure 2. You can publish local OurBigBook lightweight markup files to either OurBigBook.com or as a static website.Figure 3. Visual Studio Code extension installation.Figure 5. . You can also edit articles on the Web editor without installing anything locally. Video 3. Edit locally and publish demo. Source. This shows editing OurBigBook Markup and publishing it using the Visual Studio Code extension. - Infinitely deep tables of contents:
All our software is open source and hosted at: github.com/ourbigbook/ourbigbook
Further documentation can be found at: docs.ourbigbook.com
Feel free to reach our to us for any help or suggestions: docs.ourbigbook.com/#contact