Skip to content
#

microcontroller

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

niaow
niaow commented Jul 6, 2020

In order for interrupt-based wake-ups (as introduced by #1142) to work concurrently with time.Sleep, we need to make some per-board changes.

Previously, sleepTicks (the function used as an interface between the scheduler and the hardware timer) was defined to block until the timer completed, since there was nothing else to do. Now we need to change this so that it bails out when an interrup

circuitpython
AdamCummick
AdamCummick commented Dec 2, 2020

Running this code causes D19 to idle high and not oscillate. Removing D30 from pins_temp corrects the issue. No errors are flagged. D30 and D19 share TC4_WO1, but have different TCC peripherals.

import board
import time
import pwmio

pins_temp = [ board.D30, board.D19]
pwm_pins = []
for pin in pins_temp:
    p = pwmio.PWMOut(pin, frequency=10, duty_cycle=0x7fff, variable_frequenc

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

  • Updated Dec 12, 2020
  • Python
patacongo
patacongo commented Jul 30, 2020

In PROTECTED mode, the MPU is used to map regions of memory to supervisor- and/or user-accessible memory. Currently, that algorithm is very simple: The entire address range is made accessible in supervisor mode; a single MPU region is used to enable user-mode access in each user memory region.

Each MPU region must bit both of a power-of-two size and with an alignment in memory equal to the si

Improve this page

Add a description, image, and links to the microcontroller 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 microcontroller topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.