Point Center Login Help

ចង់ប្តូរការងារ ឬ កំពុងស្វែងរកការងារ​​ ផ្វើសារឥឡូវនេះ

Answer 1


user icon
ITGuy
2017-10-02 11:13

សរសេរផ្នែកនៃ program ដើម្បីអោយ motor វិលទៅមុខ និងទៅក្រោយៈ

Void setup()

{

            pinMode(2,OUTPUT);

            pinMode(3,OUTPUT);

            pinMode(4,OUTPUT);

}

+ motor វិលទៅមុខ

Void loop(){

            digital.Write(2,0);

            digital.Write(3,1);

            digital.Write(4,100);

}

+motor វិលទៅក្រោ

Void loop(){

            digital.Write(2,1);

            digital.Write(3,0);

            digital.Write(4,100);

}


Login or Register to Share Login

×

×

Tips to earn more points:

  • Get 2 point for each question.
  • Learn more how to earn point quickly with Point Center

Login

×

One more step

Please login to share your idea

Register Login