beep method
蜂鸣器控制 BEEP
Implementation
Future<CPCLGenerator> beep(int duration) async {
if (duration < 0) throw ArgumentError('蜂鸣时长不能为负');
await addCommand('BEEP $duration');
return this;
}
蜂鸣器控制 BEEP
Future<CPCLGenerator> beep(int duration) async {
if (duration < 0) throw ArgumentError('蜂鸣时长不能为负');
await addCommand('BEEP $duration');
return this;
}