mirror of
https://github.com/Fishwaldo/bl_mcu_sdk.git
synced 2025-07-24 05:39:27 +00:00
[update][examples] update demos
This commit is contained in:
parent
0ea925c313
commit
fb718ae09b
52 changed files with 704 additions and 103 deletions
|
@ -43,7 +43,8 @@ int main(void)
|
|||
|
||||
dac = bflb_device_get_by_name("dac");
|
||||
|
||||
bflb_dac_init(dac, DAC_SAMPLING_FREQ_32K);
|
||||
/* 512K / 16 = 32K */
|
||||
bflb_dac_init(dac, DAC_CLK_DIV_16);
|
||||
bflb_dac_channel_enable(dac, DAC_CHANNEL_A);
|
||||
bflb_dac_channel_enable(dac, DAC_CHANNEL_B);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue