OVMS3-idf/examples/peripherals/i2s
Angus Gratton 7db85a386a Merge branch 'bugfix/i2s_driver' into 'master'
I2S driver - fixed support for 24 and 32-bits, fixed tx/rx at the same time

- Modify sample can test with 24, 32-bits audio
- Add i2s sample README
- simply i2s_push function
- change sample rates, bits per sample, channel on fly

See merge request !483
2017-04-28 08:00:07 +08:00
..
main Merge branch 'bugfix/i2s_driver' into 'master' 2017-04-28 08:00:07 +08:00
Makefile Moved examples to new folders / categories. Removed example numbers from example names 2017-01-16 23:08:35 +01:00
README.md I2S: fixed support for 24 and 32-bits, fixed tx/rx at the same time and others in log: 2017-04-27 10:00:10 +07:00

I2S Example

This example shows:

Init and using I2S module:

  • Generate 100Hz triangle wave in a channel, and sine wave in another, with 36Khz sample rates. Change bits per sample every 5 seconds

  • You can change bits per sample and sample rates with i2s_set_clk