Skip to content
This repository has been archived by the owner on Feb 4, 2023. It is now read-only.

Commit

Permalink
v1.0.0 for RP2040 hardware-based PWM
Browse files Browse the repository at this point in the history
### Initial Releases v1.0.0

1. Initial coding to support **RP2040-based boards** such as Nano_RP2040_Connect, RASPBERRY_PI_PICO, etc. using either RP2040 [**ArduinoCore-mbed mbed_nano or mbed_rp2040** core](https://github.com/arduino/ArduinoCore-mbed) or [**Earle Philhower's arduino-pico core**](https://github.com/earlephilhower/arduino-pico)
2. The purely hardware-based PWM channel can generate from very low (lowest is 7.5Hz) to very high PWM frequencies (in the **MHz** range, up to **62.5MHz**).
  • Loading branch information
khoih-prog authored Sep 23, 2021
1 parent 9677503 commit 598f0d2
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 2 deletions.
32 changes: 32 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Prerequisites
*.d

# Compiled Object files
*.slo
*.lo
*.o
*.obj

# Precompiled Headers
*.gch
*.pch

# Compiled Dynamic libraries
*.so
*.dylib
*.dll

# Fortran module files
*.mod
*.smod

# Compiled Static libraries
*.lai
*.la
*.a
*.lib

# Executables
*.exe
*.out
*.app
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* [2. Initizlize PWM Instance](#1-Initizlize-PWM-Instance)
* [Examples](#examples)
* [ 1. PWM_Multi](examples/PWM_Multi)
[Example PWM_Multi](#example-PWM_Multi)
* [Example PWM_Multi](#example-PWM_Multi)
* [Debug Terminal Output Samples](#debug-terminal-output-samples)
* [1. PWM_Multi on MBED RaspberryPi Pico](#1-PWM_Multi-on-MBED-RaspberryPi-Pico)
* [2. PWM_Multi on RASPBERRY_PI_PICO](#2-PWM_Multi-on-RASPBERRY_PI_PICO)
Expand Down Expand Up @@ -185,7 +185,7 @@ OR of those two GPIO inputs

Before using any PWM `slice`, you have to make sure the `slice` has not been used by any other purpose.

### 1. Create PWM Instance with Pin, Frequency and dutycycle
#### 1. Create PWM Instance with Pin, Frequency and dutycycle

```
RP2040_PWM* PWM_Instance;
Expand Down

0 comments on commit 598f0d2

Please sign in to comment.