# CircuitPython_CircuitPlayground_RP2040 **Repository Path**: welbur/CircuitPython_CircuitPlayGround_RP2040 ## Basic Information - **Project Name**: CircuitPython_CircuitPlayground_RP2040 - **Description**: 参考adafruit的playground板和pico4ml板设计的,基于RP2040控制器的playground板 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: pg_rp2040 - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-02-10 - **Last Updated**: 2022-02-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Introduction ============ This high level library provides objects that represent Circuit Playground Express and Bluefruit hardware. .. image :: https://gitee.com/welbur/images/raw/master/playground/g18.png :target: https://item.taobao.com/item.htm?ft=t&id=668836439925 :alt: YJZ Circuit Playground RP2040 .. image :: https://raw.githubusercontent.com/adafruit/Adafruit_CircuitPython_CircuitPlayground/main/docs/_static/circuit_playground_express_small.jpg :target: https://adafruit.com/product/3333 :alt: Circuit Playground Express .. image :: https://raw.githubusercontent.com/adafruit/Adafruit_CircuitPython_CircuitPlayground/main/docs/_static/circuit_playground_bluefruit_small.jpg :target: https://adafruit.com/product/4333 :alt: Circuit Playground Bluefruit 安装 ============= 使用之前需要先将如下几个库文件拷贝到“CIRCUIT”中: * adafruit_bus_device/ * circuit_playground_RP2040.mpy * adafruit_lsm303_accel.mpy * adafruit_lsm303dlh_mag.mpy * adafruit_thermistor.mpy * neopixel.mpy 使用示例 ============= 使用这个库非常简单,只需先导入cp,然后就可以使用它。 .. code-block :: python from adafruit_circuitplayground import cp while True: if cp.button_a: print("Temperature:", cp.temperature) cp.red_led = cp.button_b 要了解有关此库的所有功能的更多信息,请查看 `CircuitPython Made Easy on Circuit Playground Express and Bluefruit guide `_ Circuit Playground Library Details ================================== 有关 Circuit Playground 库如何运作的详细说明: `The Technical Side page `_ 文档 ============= 这个库的 API 文档在 `Read the Docs `_. 有关构建库文档的信息,请查看: `this guide `_.