Git Product home page Git Product logo

esp32-wm8978-hello-world's Introduction

ESP32 & WM8978 Hello World

Simple "hello world" project which allows you to get started with WM8978 and ESP32.

In this example, 100ms beep are generated on the left channel (LOUT1) every second.

Hardware

Example works out of-the-box with TTGO-TAudio T9 board. Connect speaker or headphones to mini-jack socket.

Software

This example works with esp-idf v.4.0.

Expected Output

I (321) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (332) gpio: GPIO[0]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
I (342) WM8978: Init
I (342) WM8978: I2C status 0
I (352) WM8978: Soft reset successfull
I (362) WM8978: Init finished
I (372) I2S: DMA Malloc info, datalen=blocksize=2048, dma_buf_count=3
I (372) I2S: PLL_D2: Req RATE: 48000, real rate: 48076.000, BITS: 16, CLKM: 13, BCK: 8, MCLK: 12292917.167, SCLK: 1538432.000000, diva: 64, divb: 1
I (5382) app: Heart beat
I (10382) app: Heart beat

Authors

  • Michal Szutenberg ( http://github.com/szutenberg )
  • unknown Chinese author of WM8978 functions (code originally written for Arduino can be found on many websites)

esp32-wm8978-hello-world's People

Contributors

szutenberg avatar

Stargazers

 avatar yu avatar Qi_ren avatar Ruslan V. Uss avatar Cellie avatar

Watchers

Cellie avatar  avatar

Forkers

renlongzeng

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.