yeu cau nhu sau

khoi tao 1:_dem =0
_nhap nhay D1

main 2: _Nhan start tang dem len 1
_Nhan Stop giam den xuong 1
_Hien thi dem ra 2 led 7 doan

_Dem >50, gan dem=0
____________
D1->p2_5_bit
D2->p2_6_bit
D3->p2_7_bit
start->p2_0_bit
stop->p2_1_bit

--------------------------------------------------------------------------------
Xem bài viết cùng chuyên mục: