Giter Club home page Giter Club logo

yd-rp2040-lite's People

Contributors

vcc-gnd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

yd-rp2040-lite's Issues

Debug with OpenOCD nor flash unknown

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

NeoPixel Test Not Working

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! :-)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.