zsarduino
发表于 2015-10-18 19:47:24
艰苦奋斗 发表于 2015-10-14 16:44 static/image/common/back.gif
看手册,DRDY应该是读数据准备好的中断引脚,当要读取的数据准备好后,DRDY引脚会有125us的低电平,CPU可 ...
谢谢指导,arduino和电子方面刚入门。
火炎焱燚0809
发表于 2015-11-1 15:44:46
楼主好,我的HMC5883L传感器返回到 数值不变啊,怎么回事啊
keneng
发表于 2015-11-3 07:50:22
谢谢分享,宝贵的资料。
keneng
发表于 2015-11-3 12:51:01
感谢楼主分享
s1213
发表于 2016-1-24 11:30:04
xx:):):):):):):):):):):):):)
qmztmn
发表于 2016-4-11 23:29:22
哈哈,多谢分享分享:D
cccfeb
发表于 2016-5-25 15:12:32
Arduino有许多类型板子,具体对那一种需要告诉!
听卍
发表于 2016-8-1 21:14:55
zjhyhky 发表于 2013-1-22 22:46 static/image/common/back.gif
1.0以上版本具体如何改库
没有人解答,我自己百度百度,终于解决了。方法如下:
.....怎么打开cpp文件?:'(
hellolgml
发表于 2016-11-10 10:33:57
出错啦!!!!!!!!!!!!!!!!!!:@
Arduino:1.7.10 (Windows 8.1), 板:"Arduino Uno"
HMC5883L.cpp: In member function 'void HMC5883L::Write(int, int)':
HMC5883L.cpp:114:8: error: 'class TwoWire' has no member named 'send'
Wire.send(address);
^
HMC5883L.cpp:115:8: error: 'class TwoWire' has no member named 'send'
Wire.send(data);
^
HMC5883L.cpp: In member function 'uint8_t* HMC5883L::Read(int, int)':
HMC5883L.cpp:122:8: error: 'class TwoWire' has no member named 'send'
Wire.send(address);
^
HMC5883L.cpp:133:22: error: 'class TwoWire' has no member named 'receive'
buffer = Wire.receive();
^
编译有误。
报告将会包含更多的信息
"在编译时,输出详细信息"
在 文件>首选项 中启用
guang
发表于 2017-2-9 17:10:05
WProgram.h 这是用来做什么的????
小松子1
发表于 2017-12-18 17:17:50
为啥我串口的数据一直不变呢?C:\Users\zcx\Desktop\S@}{GNPZ_0C}U)S0HJK_M5K.png
小松子1
发表于 2017-12-18 21:20:37
cosailer 发表于 2013-2-16 06:14
最近实在太忙,就先单独把我的八字校准程序贴上来。
其实很简单,我没去管Z轴,如果想要更高的精度, ...
能否把完整的校准、读取、串口打印程序给出来呀,我复制过去老是报错,谢谢您:D
gutigtr
发表于 2018-4-10 19:10:02
请问,为什么旋转角度后,串口读数没有变化
leoma71
发表于 2019-2-28 18:16:27
正在做小车,学习。。。。。