C51单片机+HX711模块+JQ8900-16P语音模块电子体重秤设计(带语音播报)程序源码+文档资料.
main()
{
delay(200);
while(busy);
SendData(0x0a); SendData(0x01); SendData(0x06);SendData(0x0b);while(!busy);while(busy);
SendData(0x0a); SendData(0x01); SendData(0x05);SendData(0x0b);while(!busy);while(busy);
password();
init_1602();
get_maopi();
delay(100);
flag=1;
while(1)
{
gei_weight();
if(key==0)
{
write_n(kg);
write_kgg(shiwu);
if(flag==1)
bobao();
}
kg++;if(kg>999)kg=0;
delay(10);
scankey();
}
2024-04-30 16:33:56
11.54MB
HX711模块