pref: 修改buzzer接口

This commit is contained in:
bmy
2024-02-07 14:12:00 +08:00
parent 5f29a9eca2
commit 04973e875c
3 changed files with 13 additions and 22 deletions

View File

@@ -47,27 +47,7 @@ int main(void)
Page_Init();
while (1) {
// switch (by_get_rb_status()) {
// case 3:
// i++;
// break;
// case 4:
// i--;
// break;
// default:
// break;
// }
// by_pwm_update_duty(500 + i * 50, 500 + i * 50);
// by_pwm_power_duty(500 + i * 50, 500 + i * 50, 500 + i * 50, 500 + i * 50);
// // ips200_show_uint(0, 0, 1000, 4);
// ips200_draw_rect(0, 0, 50, 50, RGB565_YELLOW);
// system_delay_ms(100);
// ips200_draw_rect(0, 0, 50, 50, RGB565_BLACK);
// system_delay_ms(10);
queue_pop_read();
by_buzzer_run();
Page_Run();
}
}