xseignard/Somo2


Language: C


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 () {
}

Project Statistics

Sourcerank 2
Repository Size 0 Bytes
Stars 0
Forks 0
Watchers 1
Open issues 0
Dependencies 0
Contributors 1
Tags 1
Created
Last updated
Last pushed

Top Contributors See all

Xavier Seignard

Recent Tags See all

1.0.0 April 09, 2017

Something wrong with this page? Make a suggestion

Last synced: 2017-04-09 08:05:48 UTC

Login to resync this repository