我使用Arduino UNO(Arduino 1.8.3)。Arduino中的Serial.print uint64_t
這是我的代碼:
void setup() {
Serial.begin(115200);
}
void loop() {
uint64_t num = 9223372036854775807;
Serial.print(num);
delay(1000);
}
這是錯誤消息:
退出狀態1
超載的呼叫 '打印(uint64_t中&)' 不明確
我該如何解決這個錯誤?
請編輯您的問題,包括了*全*和*完整*錯誤輸出。包括可能的信息說明。最好把它全部複製並粘貼到你的問題中(作爲文本),不作任何修改。請花一些時間[閱讀如何提出好問題](http://stackoverflow.com/help/how-to-ask)。 –