, char __user *buff, size_t size, loff_t *loft){unsigned long temp;unsigned char temp1;do{temp = readl
2015-09-09 17:55
用的是12V2A电源,请问USB口输出电流多少?
2015-06-28 21:28
1) 输出温度计:#include#include#include#include#include#define BMA250_ADDR0x182)输出 3轴加速度 X Y Z 轴的数值#include#include#include#include#include#define BMA250_ADDR0x18int main(void){int fd;unsigned int buf;unsigned char i;unsigned int acc_x, acc_y, acc_z;fd = open( "/dev/i2c-1", O_RDWR );if( fd < 0 ){ printf("err: open file: %s\r\n", strerror( errno ) ); return 1;}if( ioctl( fd, I2C_SLAVE, BMA250_ADDR ) < 0 ){ printf("err: ioctl error : %s\r\n", strerror(errno) ); return 1;}buf = 0x08;if( write(fd,&buf,1) < 0 ){ printf("write 0x10 err \r\n");}while(1){ buf = 0x02; write( fd, &buf, 1 ); read( fd, &buf, 1 ); acc_x = buf; acc_x >>= 6; buf = 0x03; write( fd, &buf, 1 ); read( fd, &buf, 1 ); acc_x = acc_x + ( buf >= 6 ; buf = 0x05; write( fd, &buf, 1 ); read( fd, &buf, 1 ); acc_y = acc_y + ( buf >= 6; buf = 0x07; write( fd, &buf, 1 ); read( fd, &buf, 1 ); acc_z = acc_z + ( buf
2015-07-27 22:37
嗨,您可以帮助或指导我!我是新手有HP8594E规格看起来像YTO / YIG可能有问题,你能指出我正确的方向。零件号5086-7903(需要原理图)什么是检查YIG / YTO的最佳方法?此致,斯图尔特。 以上来自于谷歌翻译 以下为原文Hi, You may be able to help or give me direction! I'm a newbie have an HP8594E Spec looks like the YTO/YIG may be faulty, could you point me in the right direction.. Part Number 5086-7903 (need schematics) what's the best way to check the YIG/YTO works? Regards, Stuart.
2019-04-24 15:54
谁知道国产MCU的型号,最好带CAN接口的
2019-07-08 04:37
本文将详细讲解基于Inte1的PXA255处理器的Sitsang开发平台红外模块的设计,其中包括Linux下的IrDA驱动程序的开发和基于MC68HC908AP64红外发射器的软硬件设计两个部分。
2021-04-27 06:03