在线情况
楼主
  • 头像
  • 级别
    • 积分21
    • 经验937
    • 文章21
    • 注册2011-03-27
    169硬件I2C问题请教
    [P]用MSP430F169硬件I2C读写8563T程序
    //I2C写一字节数据
    void I2cWriteByte(uchar Data)
    {
     
      while((I2CIFG&TXRDYIFG)==0);
      I2CDRB=Data;[/P][P] [/P][P]运行到while((I2CIFG&TXRDYIFG)==0);
    就不动了,请高人指点。
    [/P]
    微控网感谢您的参与
    Powered by LeadBBS 9.2 .
    Page created in 0.1875 seconds with 7 queries.