This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
工具/软件:Linux
您好!
我将 PGA460-Q1用作 Arduino Mega。
首先,我下载了 PGA460EnergiaLibrary-1.0.3,并修改了示例代码"GetDistance_RevB"。
#include "Energia.h" ->#include "Arduino .h"
字节 SD -> 字节 SDD
使用 UART 0 (监控)、UART 1 (PGA460)
我已经检查了使用串行通信独立工作的 UART1。
硬件连接如下。
测试引脚连接到 Arduino Mega 的220kΩ Ω 和5V。 SCLK 引脚连接至 GND。
以下是日志、
使用所选设置配置 PGA460。 等待...
错误-未收到系统诊断!
系统诊断-频率(kHz):INF
系统诊断-衰减周期(us):0.00
错误-未收到温度/噪音!
系统诊断-芯片温度(C):-42.67
错误-未收到温度/噪音!
系统诊断-噪音级别:0.00
EEPROM 编程成功。
正在检索回波数据转储配置文件。 等待...
255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,25
错误-未收到测量结果!
错误-未收到测量结果!
错误-未收到测量结果!
请告诉我解决方案。 谢谢你。