Commit Graph

9 Commits

Author SHA1 Message Date
Theo Arends 6922e657d9 Shrink code/flash space
Shrink code/flash space
2019-03-23 17:00:59 +01:00
Theo Arends 304ac6fe44 6.4.1.12 code changes (byte/boolean)
6.4.1.12 20190128
 * Change code use of boolean to bool and byte to uint8_t
 * Change code uint8_t flags to bool flags
2019-01-28 14:08:33 +01:00
Theo Arends 447ec6256e 6.4.1.4 Update Copyright (C) 2019
6.4.1.4 20190101
 * Update Copyright (C) 2019
2019-01-01 13:55:01 +01:00
Theo Arends 0868c72140 Fix Sonoff Pow R2 and Sonoff S31
Fix Sonoff Pow R2 and Sonoff S31 Serial interface hang caused by MP3 driver
2018-11-11 16:52:09 +01:00
Theo Arends 9fef82736d Prep drivers for management
Prep drivers for management
2018-11-07 10:30:03 +01:00
Theo Arends 2c02532e1c 6.2.1.19 Rename user_config.h
6.2.1.19 20181023
* Fix header file execution order by renaming user_config.h to my_user_config.h
* Fix Arduino IDE compilation warning regarding e-paper library
2018-10-23 15:51:51 +02:00
Mike 4ebcbf084a
Driver update
1.0.0.4 20181003  
added   
- MP3Reset command in case that the player do rare things and needs a reset, the default volume will be set again too
- MP3_CMD_RESET_VALUE for the player reset function
- MP3_CMD_DAC command to switch off/on the dac outputs
cleaned 
- some comments and added function text header
fixed      
- missing void's in function calls
tested  
- works with MP3Device 1 = USB STick, or MP3Device 2 = SD-Card
- DAC looks working too on a headset. Had no amplifier for test
2018-10-04 08:25:32 +02:00
Mike 3c947e4c81
Added version info and new MP3 Player commands
- Added the version information to have some little hints what is done.
- Added new commands and changed two commands from the first version.
-- Intention was to get as less of commands as needed.
-- There will be possible a version with much more function and serial->read.

Command list:
- MP3TRACK
-- specify playback of a track, e.g. MP3Track 003.
- MP3PLAY        
-- Play, works as a normal play on a real MP3 Player, starts at 001.mp3 file on the selected device.
- MP3PAUSE     
-- Pause, was original designed as stop, see data sheet.
- MP3STOP       
-- Stop, it's a real stop now, in the original version it was a pause command.
- MP3VOLUME 
-- specifies the volume and means a console input as 0..100.
- MP3EQ           
-- specify the EQ(0/1/2/3/4/5), 0:Normal, 1:Pop, 2:Rock, 3:Jazz, 4:Classic, 5:Bass.
- MP3DEVICE    
-- specify playback device, USB=1, SD-Card=2, default is 2 also after reset or power down/up.
2018-09-15 09:33:53 +02:00
Theo Arends b659444c3a Add basic MP3 player
* Fix KNX PA exception. Regression from 6.2.1 buffer overflow caused by subStr() (#3700, #3710)
 * Add basic support for MP3 player using DFRobot RB-DFR-562 (#3723)
2018-09-07 10:54:24 +02:00