คำถามในหัวข้อ 'arduino-c++'

Serial.print() ใช้ตัวแปรประเภทใด
บน Arduino ฉันต้องใช้ Serial.print() ภายในฟังก์ชันเช่น; void loop() { serial_send(any_type); } void serial_send(type message) { Serial.print(message); } Serial.print สามารถยอมรับตัวแปรประเภทใดก็ได้ เช่น int , double หรือ String...
374 มุมมอง
schedule 26.12.2023