עבור לתוכן
View in the app

A better way to browse. Learn more.

HWzone

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

תוכנית לבדיקת שער לוגי עם אסמבלר 8051/31

Featured Replies

פורסם

רציתי לדעת האם התוכנית הבאה פותרת את הבעיה המצ"ב ?

תודה ! :smile1:

SETB P1.0

SETB P1.1

JNB P1.2,END

CLR P1.0

JB P1.2,END

CLR P1.1

JB P1.2,END

SETB P1.0

JB P1.2,END

SETB P1.3

END:RET

[attachment deleted by admin]

פורסם

למה שלחת 1 לP1.3 ???

כדי הלד ידלק צריך לשלוח 0 כדי שיהיה מתח על הלד..

מה עם כיבוי הלד שהשער לא תקין?

פורסם
  • מחבר

באמת לא שמתי לב עם הדיודה הרגילה.. LOL

אז הוספתי SETB P1.3 בהתחלה ובסוף במקום SETB P1.3 החלפתי ב- CLR P1.3

עכשיו... מה שעשיתי בדקתי את כל המצבים ורק אם הוא עונה על כולם אז הוא מדליק.

אחרת, בכל כשל במצב אחר הוא משאיר

אותו במצב כבוי...

זה בסדר לא ?

פורסם

תשנה בסוף רק לCLR P1.3

שכחת גם לכבות את הלד במצב שהוא לא תקין!

במקום RET תכתוב SETB P1.3

משהו כזה:

SETB P1.0

SETB P1.1

JNB P1.2,END

CLR P1.0

JB P1.2,END

CLR P1.1

JB P1.2,END

SETB P1.0

JB P1.2,END

CLR P1.3

JMP SOF

END:SETB P1.3

SOF: RET

ארכיון

דיון זה הועבר לארכיון ולא ניתן להוסיף בו תגובות חדשות.

דיונים חדשים

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.