Treffer: Build a flashy dice roller with NeoPixels.
Weitere Informationen
The first output, the TM1637 display, is connected to 3V, GND and two I2C pins (green GP27 and yellow GP26 wires), which provide the data connection from the Pico to the display. The code in core 0 will wait for a user to press a button, and when they do, the code will choose a random number to emulate a D20 die roll. HOW TO The Raspberry Pi Pico is powered by a dual-core ARM CPU, and in this tutorial we will learn how to run two threads of MicroPython code independent of each other. [Extracted from the article]
Copyright of APC (Future Publishing Ltd.) is the property of Future Publishing Ltd. and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract. (Copyright applies to all Abstracts.)