只需一步,快速開始
熱門: 51單片機 | 24小時必答區 | 單片機教程 | 單片機DIY制作 | STM32 | Cortex M3 | 模數電子 | 電子DIY制作 | 音響/功放 | 拆機樂園 | Arduino | 嵌入式OS | 程序設計
此例為單音頻輸出,想學習51的師兄可以先從此入手。 代碼: #include<reg51.h> sbit SOND=P1^0; sbit KL=P3^0; sbit KH=P3^2; void tone(unsigned char t) { unsigned char j; unsigned int i; for(i= ...
小黑屋|51黑電子論壇 | 管理員QQ:125739409;技術交流QQ群281945664
Powered by 單片機教程網