色婷婷AⅤ一区二区三区|亚洲精品第一国产综合亚AV|久久精品官方网视频|日本28视频香蕉

          新聞中心

          EEPW首頁(yè) > 嵌入式系統(tǒng) > 設(shè)計(jì)應(yīng)用 > 混合式調(diào)度器C51源代碼及相關(guān)注釋

          混合式調(diào)度器C51源代碼及相關(guān)注釋

          作者: 時(shí)間:2012-05-12 來(lái)源:網(wǎng)絡(luò) 收藏

          {
          LED_State_G_B = 1;
          LED_pin_B = 1;
          }
          }

          本文引用地址:http://cafeforensic.com/article/149077.htm

          void LED_Flash_Update_C(void)
          {
          if(LED_State_G_C == 1)
          {
          LED_State_G_C = 0;
          LED_pin_C = 0;
          }
          else
          {
          LED_State_G_C = 1;
          LED_pin_C = 1;
          }
          }
          void LED_Flash_Update_D(void)
          {
          if(LED_State_G_D == 1)
          {
          LED_State_G_D = 0;
          LED_pin_D = 0;
          }
          else
          {
          LED_State_G_D = 1;
          LED_pin_D = 1;
          }
          }
          void LED_Flash_Update_E(void)
          {
          if(LED_State_G_E == 1)
          {
          LED_State_G_E = 0;
          LED_pin_E = 0;
          }
          else
          {
          LED_State_G_E = 1;
          LED_pin_E = 1;
          }
          }
          void LED_Flash_Update_F(void)
          {
          if(LED_State_G_F == 1)
          {
          LED_State_G_F = 0;
          LED_pin_F = 0;
          }
          else
          {
          LED_State_G_F = 1;
          LED_pin_F = 1;
          }
          }
          void LED_Flash_Update_G(void)
          {
          if(LED_State_G_G == 1)
          {
          LED_State_G_G = 0;
          LED_pin_G = 0;
          }
          else
          {
          LED_State_G_G = 1;
          LED_pin_G = 1;
          }
          }
          void LED_Flash_Update_H(void)
          {
          if(LED_State_G_H == 1)
          {
          LED_State_G_H = 0;
          LED_pin_H = 0;
          }
          else
          {
          LED_State_G_H = 1;
          LED_pin_H = 1;
          }
          }

          void LED_Flash_Init(void)
          {
          LED_State_G_A= 0;//初始化LED狀態(tài)
          LED_State_G_B= 0;//初始化LED狀態(tài)
          LED_State_G_C= 0;//初始化LED狀態(tài)
          }


          上一頁(yè) 1 2 3 下一頁(yè)

          評(píng)論


          相關(guān)推薦

          技術(shù)專(zhuān)區(qū)

          關(guān)閉