nanoFramework.Iot.Device.Yx5300
1.2.570
Prefix Reserved
dotnet add package nanoFramework.Iot.Device.Yx5300 --version 1.2.570
NuGet\Install-Package nanoFramework.Iot.Device.Yx5300 -Version 1.2.570
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="nanoFramework.Iot.Device.Yx5300" Version="1.2.570" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add nanoFramework.Iot.Device.Yx5300 --version 1.2.570
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: nanoFramework.Iot.Device.Yx5300, 1.2.570"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install nanoFramework.Iot.Device.Yx5300 as a Cake Addin
#addin nuget:?package=nanoFramework.Iot.Device.Yx5300&version=1.2.570
// Install nanoFramework.Iot.Device.Yx5300 as a Cake Tool
#tool nuget:?package=nanoFramework.Iot.Device.Yx5300&version=1.2.570
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
YX5200/YX5300 - MP3 Player
Use this driver to control the Keyestudio YX5200-24SS MP3/Jaycar XC3748 Music Player Module
This MP3 module is a MP3/WAV/WMA music player. It uses YX5200/YX5300 at its core and it plays files from an integrated SD card reader. It is connected with Serial port.
Documentation
See this article for a good oversight.
Usage
using Iot.Device.Yx5300;
using nanoFramework.Hardware.Esp32;
using System.Threading;
const int FolderNumber = 1;
const int FileNumber = 1;
Yx5300 mp3Player;
// Set GPIO functions for COM2 (this is UART2 on ESP32)
Configuration.SetPinFunction(Gpio.IO17, DeviceFunction.COM2_TX);
Configuration.SetPinFunction(Gpio.IO16, DeviceFunction.COM2_RX);
// Open COM2 and instantiate player
mp3Player = new Yx5300("COM2");
// Start player and play some files
Thread.Sleep(1000);
mp3Player.Volume(Yx5300.MaxVolume / 2);
// Repeat a folder
mp3Player.PlayFolderRepeat(FolderNumber);
mp3Player.Play();
// Repeat a file
mp3Player.PlayTrackRepeat(FileNumber);
mp3Player.Play();
Thread.Sleep(Timeout.Infinite);
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
- nanoFramework.CoreLibrary (>= 1.15.5)
- nanoFramework.System.Collections (>= 1.5.31)
- nanoFramework.System.IO.Ports (>= 1.1.86)
- nanoFramework.System.IO.Streams (>= 1.1.59)
- nanoFramework.System.Text (>= 1.2.54)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.2.570 | 75 | 6/14/2024 |
1.2.548 | 71 | 5/15/2024 |
1.2.532 | 95 | 4/13/2024 |
1.2.436 | 204 | 11/10/2023 |
1.2.329 | 133 | 5/26/2023 |
1.2.313 | 122 | 5/12/2023 |
1.2.297 | 137 | 5/3/2023 |
1.2.203 | 285 | 12/28/2022 |
1.2.153 | 332 | 11/5/2022 |
1.2.141 | 364 | 10/25/2022 |
1.2.128 | 367 | 10/22/2022 |
1.2.117 | 388 | 10/10/2022 |
1.2.114 | 352 | 10/8/2022 |
1.2.89 | 380 | 9/16/2022 |
1.2.35 | 396 | 8/4/2022 |
1.2.16 | 421 | 7/25/2022 |
1.1.113.2032 | 392 | 6/23/2022 |
1.1.109.32999 | 402 | 6/16/2022 |
1.1.97.17326 | 414 | 6/13/2022 |
1.1.67.25390 | 413 | 5/27/2022 |
1.1.7 | 442 | 4/18/2022 |
1.1.1 | 430 | 4/14/2022 |
1.0.300 | 406 | 4/1/2022 |
1.0.278-preview.124 | 109 | 3/25/2022 |
1.0.278-preview.118 | 102 | 3/24/2022 |
1.0.278-preview.101 | 106 | 3/11/2022 |
1.0.278-preview.84 | 116 | 2/25/2022 |
1.0.278-preview.64 | 107 | 2/9/2022 |
1.0.278-preview.61 | 121 | 2/5/2022 |
1.0.278-preview.59 | 124 | 2/4/2022 |
1.0.278-preview.31 | 123 | 1/27/2022 |
1.0.278-preview.14 | 115 | 1/21/2022 |
1.0.278-preview.1 | 119 | 1/14/2022 |
1.0.272 | 150 | 1/10/2022 |
1.0.259 | 311 | 12/9/2021 |
1.0.218 | 182 | 10/18/2021 |
1.0.193 | 154 | 9/30/2021 |
1.0.191 | 161 | 9/29/2021 |
1.0.155 | 150 | 8/31/2021 |
1.0.153 | 150 | 8/14/2021 |
1.0.151 | 161 | 8/6/2021 |
1.0.146 | 151 | 7/22/2021 |
1.0.144 | 182 | 7/21/2021 |
1.0.136 | 228 | 7/17/2021 |
1.0.135 | 155 | 7/16/2021 |
1.0.134 | 163 | 7/15/2021 |
1.0.133 | 177 | 7/14/2021 |
1.0.127 | 164 | 7/5/2021 |
1.0.122 | 200 | 6/30/2021 |
1.0.121 | 187 | 6/29/2021 |
1.0.119 | 218 | 6/28/2021 |
1.0.117 | 174 | 6/17/2021 |
1.0.115 | 184 | 6/16/2021 |