??????????????????????????????????????????????????????????????????????????????

26121042112
?????????????????????????????? ?????????????????????

Assignment

???????????????????????? 3 ?????????????????????????? 2 ????????

Title : ???????????????????????? 3 ?????????????????????????? 2 ????????
From ธันวาคม 04, 2018 at 11:52 AM until เมษายน 04, 2019 at 11:52 AM
Submission type : File (file required, description text optional)
Submission visibility : Only visible for teacher(s) and submitter(s)
Assignment type : Individual
Allow late upload : Users can submit after end date

Description

?????????????????? portB =%00001111 ????????????????????? ???????????????????? ????????? portB ????????????????????????????????????????????????????

?? ?? ??B?? ????????????????????? Port ?????????????????????????????

?? ?? %?? ???????????????????????????????????????????????

?? ??00001111 ???????????????????????????????????????????????????????????????????? Port ???????????????????????

???????????????????? ?? ?? If [????????????????????????] then [???????????????????????????????????????????????????????????????????????????????????????????????????]

????????????

program

------------------------------------------

Main:

?? ?? ??if portc.0 = 0 then goto Step1

?? ?? ??if portc.1 = 1 then goto Step2

goto main

Step1:??

?? ?? portb=$0F?? ?? :?? ?? ??pause 500

?? ?? portb=$F0?? ?? :?? ?? ??pause 500

goto Step1

??

Step2:??

?? ?? portb=$55?? ?? :?? ?? ??pause 500

?? ?? portb=$AA?? ?? :?? ?? ??pause 500

goto Step1

??END

?? ????


   
Author(s) Last submission Submissions Feedbacks
   

ครูผู้สอนในรายวิชา 26121042112 : ?????????????????????????????? ?????????????????????
ผู้ดูแลระบบของ ChaiMCU Learning : ครูธวัชชัย คงเคว็จ
Phone : 089-655-0011
Powered by Claroline © 2001 - 2014