Skip to content

Commit 385cb02

Browse files
committed
Change example name in CMakeLists and README.md
1 parent d5b4776 commit 385cb02

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ App|Description
244244
[hello_pwm](pwm/hello_pwm) | Minimal example of driving PWM output on GPIOs.
245245
[led_fade](pwm/led_fade) | Fade an LED between low and high brightness. An interrupt handler updates the PWM slice's output level each time the counter wraps.
246246
[measure_duty_cycle](pwm/measure_duty_cycle) | Drives a PWM output at a range of duty cycles, and uses another PWM slice in input mode to measure the duty cycle.
247-
[tone_generation :speaker::musical_score::notes:](pwm/tone_generation) | Play a christmas melody by generating square waves with PWM and a Buzzer :.
247+
[pico_tone](pwm/pico_tone) | Play a christmas melody :notes::christmas_tree: by generating square waves with PWM and a Buzzer.
248248

249249
### Reset
250250

pwm/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ if (NOT PICO_NO_HARDWARE)
22
add_subdirectory(hello_pwm)
33
add_subdirectory(led_fade)
44
add_subdirectory(measure_duty_cycle)
5-
add_subdirectory(tone_generation)
5+
add_subdirectory(pico_tone)
66
endif ()

pwm/pico_tone/CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
add_executable(tone_generation
2-
tone_generation.c
1+
add_executable(pico_tone
2+
pico_tone.c
33
)
44

55
# Add pico_stdlib library which aggregates commonly used features
6-
target_link_libraries(tone_generation pico_stdlib hardware_pwm)
6+
target_link_libraries(pico_tone pico_stdlib hardware_pwm)
77

88
# Create map/bin/hex/uf2 file in addition to ELF.
9-
pico_add_extra_outputs(tone_generation)
9+
pico_add_extra_outputs(pico_tone)
1010

1111
# add url via pico_set_program_url
12-
example_auto_set_url(tone_generation)
12+
example_auto_set_url(pico_tone

0 commit comments

Comments
 (0)