vcc-gnd / yd-rp2040-lite Goto Github PK
View Code? Open in Web Editor NEW源地工作室(VCC-GND Studio)YD-RP2040-Lite 资料
源地工作室(VCC-GND Studio)YD-RP2040-Lite 资料
Open On-Chip Debugger 0.12.0-g4d87f6dca (2023-10-04-20:59)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
adapter speed: 500 kHz
Info : Hardware thread awareness created
Info : Hardware thread awareness created
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : J-Link V9 compiled May 7 2021 16:26:12
Info : Hardware version: 9.50
Info : VTarget = 3.270 V
Info : clock speed 500 kHz
Info : SWD DPIDR 0x0bc12477, DLPIDR 0x00000001
Info : SWD DPIDR 0x0bc12477, DLPIDR 0x10000001
Info : [rp2040.core0] Cortex-M0+ r0p1 processor detected
Info : [rp2040.core0] target has 4 breakpoints, 2 watchpoints
Info : [rp2040.core1] Cortex-M0+ r0p1 processor detected
Info : [rp2040.core1] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for rp2040.core0 on 3333
Info : Listening on port 3333 for gdb connections
Info : accepting 'gdb' connection on tcp/3333
Error: Unknown flash device (ID 0x0016405e)
Error: auto_probe failed
Error: Connect failed. Consider setting up a gdb-attach event for the target to prepare target for GDB connect, or use 'gdb_memory_map disable'.
Error: attempted 'gdb' connection rejected
I can't get the NeoPixel to work.
I am using the standard builtin Neopixel library: https://docs.micropython.org/en/latest/library/neopixel.html
from machine import Pin
from neopixel import NeoPixel
from utime import sleep
NEOPIXEL_PIN = 23
NUMBER_PIXELS = 1
# initialize objects
led = Pin(NEOPIXEL_PIN, Pin.OUT)
strip = NeoPixel(led, NUMBER_PIXELS)
counter = 0
while True:
print('c:', counter)
strip[0] = (255,255,255)
strip.write()
sleep(.5)
strip[0] = (0,0,0)
strip.write()
sleep(.5)
counter += 1
I am running the latest version of the runtime:
MicroPython v1.20.0 on 2023-04-26; Raspberry Pi Pico with RP2040
I love the board and the features. Labels on the top are great for my students! :-)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.