vudiepdh1
Junior Member level 1
Help me c code !
I have a small problem with c code in programing 8051! I connect 2 button to p2.0 and p2.1 . Button 1 to increase value Parameter2 and button 2 to decrease value Parameter2 . I compare this Parameter2 with another Parameter1 = Th0*256 +TL0 ! If parameter 2 > parameter 1 then p3.0 =1 contrary p3.1 =1 . Plz help me write this c code! I really need it ! Thank !
I have a small problem with c code in programing 8051! I connect 2 button to p2.0 and p2.1 . Button 1 to increase value Parameter2 and button 2 to decrease value Parameter2 . I compare this Parameter2 with another Parameter1 = Th0*256 +TL0 ! If parameter 2 > parameter 1 then p3.0 =1 contrary p3.1 =1 . Plz help me write this c code! I really need it ! Thank !