HelTecAutomation / CubeCell-Arduino

Heltec CubeCell Series (based on ASR6501, ASR6502 chip) Arduino support.
248 stars 137 forks source link

Cubecell don't have tone function , Who can transplant the tone function to cubecell? #193

Open Zi-x opened 2 years ago

onitake commented 10 months ago

According to the datasheet, the ASR56xx PSoC has an I2S interface: https://asriot.readthedocs.io/en/latest/ASR560X/Datasheet/index.html It also seems to have a Delta-Sigma-ADC for audio input, but I can't find any mention of a DAC.

If you need something simpler, you could attach a speaker to one of the GPIO and produce sound via PWM. Or use a piezo beeper and switch it on and off via GPIO.