diff options
| author | Henrik Berg <[email protected]> | 2023-07-13 11:16:11 +0200 |
|---|---|---|
| committer | Henrik Berg <[email protected]> | 2023-07-13 11:16:11 +0200 |
| commit | 588c0479f5dacd21e8654463eb3ca3d847d5dcd9 (patch) | |
| tree | 2e0f60933734e66f65cd82715878d06054107037 /examples/rp/src/bin/pwm.rs | |
| parent | d979841f17721c344142d36bc56f79bea50a158f (diff) | |
Add descriptions to all RP2040 examples. Some need hardware that was not specified.
Diffstat (limited to 'examples/rp/src/bin/pwm.rs')
| -rw-r--r-- | examples/rp/src/bin/pwm.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/rp/src/bin/pwm.rs b/examples/rp/src/bin/pwm.rs index 2b3d5d97a..9d919287c 100644 --- a/examples/rp/src/bin/pwm.rs +++ b/examples/rp/src/bin/pwm.rs | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | //! This example shows how to use PWM (Pulse Width Modulation) in the RP2040 chip. | ||
| 2 | //! | ||
| 3 | //! The LED on the RP Pico W board is connected differently. Add a LED and resistor to another pin. | ||
| 4 | |||
| 1 | #![no_std] | 5 | #![no_std] |
| 2 | #![no_main] | 6 | #![no_main] |
| 3 | #![feature(type_alias_impl_trait)] | 7 | #![feature(type_alias_impl_trait)] |
