![]() In order to use the NeoPixel I need to install two libraies. ![]() I tweaked the code to use GPIO 16 and connected a virtual NeoPixel ring with 16 pixels. ![]() I downloaded the example NeoPixel code from Adafruit's excellent resources. Hidden in the main screen is an option to run CircuitPython (my favourite way to hack) on a Raspberry Pi Pico. The code can then be used on real devices. Projects can be saved, and downloaded as zip archives. I wrote a little code to print a message to the serial console, and to flash an LED connected to GPIO 16. Finally we have a library manager, which shows any installed libraries for the project. "Diagram.json" which is a text file containing the components in our circuit. For my test I opened a Raspberry Pi Pico, and I was presented with the Arduino / C++ language on the left of the screen, on the right was a virtual Raspberry Pi Pico. You click on the board, and it opens a new simulator.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |