登录
首页 » 嵌入式系统 » MSP430以软件IIC方式读写HMC5883

MSP430以软件IIC方式读写HMC5883

于 2022-03-25 发布 文件大小:4.87 kB
0 156
下载积分: 2 下载次数: 1

代码说明:

********************************************************************** 初始化 IIC **********************************************************************/ void InitIIC() { IIC_DIR |= IIC_SCL; //SCL 管脚为输出 IIC_DIR &= ~IIC_SDA; //SDA 管脚为输入 C_SCL; Stop(); } /****************************

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 3280Led点阵时钟,08接口
    应用背景3280led点阵时钟,08接口,支持市面上大部分08接口的双色点阵,3264可以相应修改关键技术3280 led 点阵时钟,08接口。淘宝有很多相似的点阵版,基本都能用。。。
    2023-02-08 14:25:03下载
    积分:1
  • stm32 ili9320
    此文件是 ChibiOS/GFX 的一部分。 ChibiOS/GFX 是免费软件 ;你可以将它重新分发和/或修改 它根据 GNU 通用公共许可证发布的条款 自由软件基金会 ;任一版本 3 的许可协议,或 (在您的选择) 任何更新的版本。 ChibiOS/GFX 分布在希望它会有用的 但没有任何担保。没有甚至隐含的担保 适销性或适合特定目的。请参见 GNU 通用公共许可证有关更多详细信息。
    2022-01-26 03:22:26下载
    积分:1
  • 这个程序描述的是SPI的数据传送,包括应用SPI进行接收和发送...
    这个程序描述的是SPI的数据传送,包括应用SPI进行接收和发送-This procedure is described in the SPI data transfer, including the application of SPI to receive and send
    2022-09-30 12:25:03下载
    积分:1
  • sim908 在协议
    嵌入在 sim908 的调制解调器。在文件中你有 sim900 开发 IDE 和与普康吃使用 Eclipse IDE 的说明。 示例文件和编译器。 运行所需的 RVCT 编译器
    2023-03-14 20:45:07下载
    积分:1
  • A Tiny Microcontroller for FPGAs
    应用背景Abstract—Leros is a tiny microcontroller that is optimized for current low-cost FPGAs. Leros is designed with a balanced logic to on-chip memory relation. The design goal is a microcontroller that can be clocked in about half of the speed a pipelined on-chip memory and consuming less than 300 logic cells. The architecture, which follows from the design goals, is a pipelined 16-bit accumulator processor. An implementation of Leros needs at least one on-chip memory block and a few hundred logic cells. The application areas of Leros are twofold: First, it can be used as an intelligent peripheral device for auxiliary functions in an FPGA based system-on-chip design. Second, the very small size of Leros makes it an attractive softcore for many-core research with low-cost FPGAs.关键技术The smallest core is comparable to Leros and can be implemented
    2023-09-03 01:00:04下载
    积分:1
  • ARM的串口源码,对大家很有用的东西哈,希望可以帮助大家,谢谢了...
    ARM的串口源码,对大家很有用的东西哈,希望可以帮助大家,谢谢了-ARM serial source of useful things that everyone Kazakhstan, hope can help everyone, I would like to thank the
    2023-02-19 03:25:03下载
    积分:1
  • 例如USB
    Example USB-GPIF Project uVision3 CY7C68013 (Sypress) with shematic and driver WInXP
    2022-01-26 07:03:53下载
    积分:1
  • 能够测转速的小程序
    能够测转速的小程序-can measure speed of small programs
    2022-03-18 12:59:39下载
    积分:1
  • 自己修改的U
    自己修改的U-boot1.1.4For AT91RM9200DK. 请用armgcc3.3.2编译。-its own amended U-boot1.1.4For AT91RM9200DK. Please ar mgcc3.3.2 compiler.
    2022-12-22 08:30:04下载
    积分:1
  • blackfin 533 的nandflash代码 很基础的
    blackfin 533 的nandflash代码 很基础的-blackfin 533 of the NANDFLASH code is based
    2022-01-21 06:29:50下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载