| 数据搜索系统,热门电子元器件搜索 |
|
UM0501 数据表(PDF) 9 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0501 数据表(HTML) 9 Page - STMicroelectronics |
|
9 / 19 page ![]() UM0501 Demonstration applications Doc ID 14320 Rev 3 13/23 2.8 PWM demo 1 This mode demonstrates the Timer peripheral operating in PWM mode. Make sure that the JP14 jumper is installed in the bottom position (closer to the LCD). 1. Entering the melody (see Figure 11): The first LCD line shows the position of the note to enter. o = Edit mode, the note is selected by using the RV1 potentiometer. x = Protect mode, the note cannot be changed. The second LCD line shows the notes to be played with the following convention: a/A = LA b/B = SI c/C = DO d/D = RE e/E = MI f/F = FA g/G = SOL s/S = silence or pause A lowercase letter represent a brief note, and an uppercase letter a long note. To modify a note, press the joystick LEFT or RIGHT to navigate the notes, and use the RV1 potentiometer. Then press SEL to confirm. Once all the notes have been defined, enter an end mark to play the melody. * = End of notes, the melody is played only once. 8 = End of melody, the melody is played in a loop with varying octaves and note durations. Figure 11. Defining the melody to be played 2. Playing and saving the melody ● Press SEL on the joystick to play the tune indefinitely. ● Press the joystick UP to stop the melody. Note: Keep the joystick pressed UP for a short time to allow the action to be taken into account. ● The second time UP is pressed, a message is displayed asking you whether you want to save the melody or not (see Figure 12). a) If you press the KEY button, the melody is saved in the external EEPROM. b) If you press UP on the joystick, you exit from the demo without saving the melody. o aaaBBBccdEE* |
|
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |