先顶一下,留个记号。
那个片子应是飞利浦的单片机
本帖最后由 crestgod 于 2013-12-4 21:38 编辑
请看下图,谁的眼睛好,谁认识这个芯片?这是从XXXX网店上扒来的,这样不就知道用的是什么芯片了吗?
我看是STM8S003F3P6。所以说,cshp138 ,楼主说你芯片说的不对,是有道理的。。。
求鉴定!!!楼主(JUNYUEZHIKONG)呢?
目前在调试MPU6050的DMP时,发觉得INT没有中断信号,程序已设置中断能使了。但INT脚仍然没有中断,不知为什么?
set_int_enable(1);
代码如下:
/**
*@brief Enable/disable data ready interrupt.
*If the DMP is on, the DMP interrupt is enabled. Otherwise, the data ready
*interrupt is used.
*@paramenable 1 to enable interrupt.
*@return 0 if successful.
*/
static int set_int_enable(unsigned char enable)
{
unsigned char tmp;
short status;
if (st.chip_cfg.dmp_on) {
if (enable)
tmp =BIT_DMP_INT_EN;// ;//gasonBIT_FIFO_OVERFLOW
else
tmp = 0x00;
if (i2c_write(st.hw->addr, st.reg->int_enable, 1, &tmp))
return -1;
// mpu_set_int_latched(1);
// mpu_set_int_level(1);
//mpu_get_int_status(&status); //gason
st.chip_cfg.int_enable = tmp;
} else {
if (!st.chip_cfg.sensors)
return -1;
if (enable && st.chip_cfg.int_enable)
return 0;
if (enable)
tmp = BIT_DATA_RDY_EN;
else
tmp = 0x00;
if (i2c_write(st.hw->addr, st.reg->int_enable, 1, &tmp))
return -1;
st.chip_cfg.int_enable = tmp;
}
return 0;
}
楼主,我不做平衡,我只是单纯的想把mpu6050得到的数据用NRF24L01 transmitter 输出 传给电脑或者另一NRF24L01 receiver 怎样连接mpu6050和NRF24L01呢
学习了!!!!!!!!!!!!
新来的,有礼了.
你好,能指导下串口的mpu6050的用法吗?在串口调试中啥也输不出来……
:lol:lol:lol
已经有人用stm8做四轴了