Skip to content
#

micropython

Here are 1,409 public repositories matching this topic...

circuitpython
domdfcoding
domdfcoding commented Nov 8, 2021

CircuitPython version

Adafruit CircuitPython 7.0.0-651-g5572876d2 on 2021-11-07; Pimoroni Pico LiPo (4MB) with rp2040

Code/REPL

import pwmio, countio, board
print("import OK")
counter = countio.Counter(board.GP1)
print("counter OK")
motor = pwmio.PWMOut(board.GP8)
print("motor OK")

Behavior

$ picocom /dev/ttyACM1
Adafruit CircuitPyth
MaixPy
junhuanchen
junhuanchen commented Jan 11, 2021

About this question, here is a unified reply.

We need to see this place where one is the definition and load the configuration.

https://github.com/sipeed/MaixPy/blob/master/components/micropython/port/builtin_py/board.py

If you don't provide the configuration, you won't get the concrete variable.

If it is SIPEED published hardware, the appropriate configuration is provided here.

htt

A comprehensive and FREE Online Python Development tutorial FOR KIDS utilizing an official BBC micro:bit Development Board going step-by-step into the world of Python for microcontrollers.

  • Updated Nov 2, 2021
  • Python
MicroWebSrv2

The last Micro Web Server for IoTs (MicroPython) or large servers (CPython), that supports WebSockets, routes, template engine and with really optimized architecture (mem allocations, async I/Os). Ready for ESP32, STM32 on Pyboard, Pycom's chipsets (WiPy, LoPy, ...). Robust, efficient and documented!

  • Updated Jun 28, 2021
  • Python

Improve this page

Add a description, image, and links to the micropython topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the micropython topic, visit your repo's landing page and select "manage topics."

Learn more