Example of using the SOMO-14D and the created libraries.
Dependencies: MessageQueue SOMO14D includes mbed
STM32F030R8_SOMO 14D Usage
- Open Hyperterminal, CoolTerm, Putty or any favorite program at
- 9600 bauds
- 8 data bits
- N no parity
- 1 stop bit
- Import the application
- Change on the SOMO14D.h file the "defines" depending of your hardware
- SOMO_BUSY_PIN
- SOMO_DATA_PIN
- SOMO_CLK_PIN
- SOMO_RESET_PIN
- SOMO_WAIT_BIT
- Connect all the necessary hardware and compile, download the application
- Press the reset button
- Use any of these commands
- p play the current song
- s stop the current song
- h hold the current song
- n play the next song in the queue
- r play the previous song in the queue
- a <num> set audio to a specific song, 511 > num > 0
- i.e. num = 0010
- + set volume up, max 8 levels
- - set volume down, max 8 levels
- You must play with the commands and listen to music right now, here is the test terminal with some commands excecuted.