GithubHelp home page GithubHelp logo

jczic / kt403a-mp3 Goto Github PK

View Code? Open in Web Editor NEW
12.0 3.0 11.0 382 KB

MicroPython driver for KT403A MP3 chip (DFPlayer, GroveMP3, ... used on Pycom modules)

Home Page: https://www.hc2.fr/lab

Python 100.00%
pycom micropython mp3 kt403a driver esp32 lopy wipy hc2 grove

kt403a-mp3's Introduction

Hello โœ‹ World

kt403a-mp3's People

Contributors

jczic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

kt403a-mp3's Issues

GetCurrentTrack and GetTracksCount returned value in 8bit (0-255) high byte is always 0

seems this is an hardware issue.

i coded this to cheat this issue:

  def getRealFilesCount(self):
    c = 0
    if self.getState() > 0:
      return None
    vol_bkup = self._vol
    self.volume(0)
    sleep_ms(100)
    a = self.getFilesCount()
    sleep_ms(100)
    while True:
      b = c * 256 + a + 1
      self.play(b)
      sleep_ms(900)
      d = self.getCurrentTrack()
      sleep_ms(100)
      #print('loop', a, b, c, d)
      if d == a:
        self.stop()
        sleep_ms(100)
        self.volume(vol_bkup)
        return c * 256 + a
      c += 1
    self.volume(vol_bkup)

greetings from germany

RX functions not working with rPi Pico

TX works fine in that I can Play specific tracks, set volume etc.. but any function like GetVolume or GetState just sends back none or 0. I am running the latest 1.18 Micropython firmware.

TypeError: extra keyword arguments given

Hi there!

I'm using a esp32 running the latest micropython version, and when I ran main.py it showed: TypeError: extra keyword arguments given.

Is there anyway i can fix this?
Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.