CARVIEW |
Select Language
HTTP/2 200
date: Sun, 12 Oct 2025 03:14:33 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
x-frame-options: DENY
x-content-type-options: nosniff
x-xss-protection: 1;mode=block
vary: accept-encoding
cf-cache-status: DYNAMIC
content-encoding: gzip
set-cookie: _csrf-frontend=da665eca099342a463f2f0f3d721ee948466584bba761b3556b0d0f18ef8d0b3a%3A2%3A%7Bi%3A0%3Bs%3A14%3A%22_csrf-frontend%22%3Bi%3A1%3Bs%3A32%3A%22ZpQY8DcvOjfjYh5rwgwzJJ6_0ERTiGN9%22%3B%7D; HttpOnly; Path=/
cf-ray: 98d36d7e89a5c462-BLR
$NOMOD51$include (C8051F120.h)SW BIT P3.7; Объявление переменных LED и SW; - Pastebin.com
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $NOMOD51
- $include (C8051F120.h)
- SW BIT P3.7; Объявление переменных LED и SW;
- LED BIT P1.6;
- CSEG AT 0;
- LJMP MAIN;
- Reset_Sources_Init:
- mov WDTCN, #0DEh ; Выключение WDT;
- mov WDTCN, #0ADh
- ret
- Port_IO_Init:
- mov SFRPAGE, #CONFIG_PAGE ; Настройка порта P1.6 на push-pull выход
- mov P1MDOUT, #040h
- mov XBR2, #040h
- ret
- ; Initialization function for device,
- ; Call Init_Device from your main program
- Init_Device:
- lcall Reset_Sources_Init ; Настройка микроконтроллера
- lcall Port_IO_Init
- ret
- MAIN:
- CALL Init_Device; Инициализация контроллера
- CLR LED; Выключение светодиода
- LOOP:
- MOV C, SW; Подключение кнопки к светодиоду
- CPL C;
- MOV LED, C;
- SJMP LOOP
- End
Advertisement
Add Comment
Please, Sign In to add comment
-
✅⭐ Make huge profits on trading ⭐⭐ S
JavaScript | 2 sec ago | 0.25 KB
-
⭐✅ Marketplace Glitch ✅ Working ✅ NEVER SEEN...
JavaScript | 11 sec ago | 0.25 KB
-
⭐✅ Exploit 2500$ in 15 Minutes⭐⭐⭐ G
JavaScript | 20 sec ago | 0.25 KB
-
Free Crypto Method (NEVER SEEN BEFORE)⭐⭐ X
JavaScript | 30 sec ago | 0.25 KB
-
⭐✅ Swapzone Glitch ✅ Working ⭐⭐ X
JavaScript | 40 sec ago | 0.25 KB
-
📌 Swapzone +37% glitch ⭐ T
JavaScript | 1 min ago | 0.25 KB
-
Free Crypto Method (NEVER SEEN BEFORE)⭐⭐ X
JavaScript | 1 min ago | 0.25 KB
-
✅⭐ Make huge profits on trading ⭐⭐ B
JavaScript | 1 min ago | 0.25 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand