Skip to content

xseignard/Somo2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SOMO-II library

SOMO-II is a cheap mp3 player that can be controlled over a serial port.

This library implements the serial control in order to use it along with an Arduino/Teensy/Any Arduino capable board.

Please check the source code/examples to see how to use it.

Simple example

#include <Somo2.h>

// Rx, Tx to the mp3 player
Somo2 somo(11, 12);

void setup () {
	Serial.begin(9600);
	// init mp3 player
	somo.begin();
	// reset it
	somo.reset();
	// wait a bit for the reset
	delay(1000);
	// set the volume at 20 out of 30
	somo.setVolume(20);
	// play the first track of the first folder
	somo.playTrack(1, 1);
}

void loop () {
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages