jczic / kt403a-mp3 Goto Github PK
View Code? Open in Web Editor NEWMicroPython driver for KT403A MP3 chip (DFPlayer, GroveMP3, ... used on Pycom modules)
Home Page: https://www.hc2.fr/lab
MicroPython driver for KT403A MP3 chip (DFPlayer, GroveMP3, ... used on Pycom modules)
Home Page: https://www.hc2.fr/lab
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!
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.