made by: kangkai data:2008.11.23 this one is used to test arm7 str71x. use a led to test GPIO. a---------P0.0 b---------P0.1 c---------P0.2 d---------P0.3 e---------P0.4 f---------P0.5 g---------P0.6 just run it and you will see the led to show 0-9 all the time.
上傳時間: 2016-12-16
上傳用戶:moerwang
This example shows how to update at regulate period the WWDG counter using theEarly Wakeup interrupt (EWI). The WWDG timeout is set to 262ms, refresh window set to 41h and the EWI isenabled. When the WWDG counter reaches 40h the EWI is generated and in the WWDGISR the counter is refreshed to prevent a WWDG reset and led connected to PC.07is toggled.The EXTI line9 is connected to PB.09 pin and configured to generate an interrupton falling edge.In the NVIC, EXTI line9 to 5 interrupt vector is enabled with priority equal to 0and the WWDG interrupt vector is enabled with priority equal to 1 (EXTI IT > WWDG IT). The EXTI Line9 will be used to simulate a software failure: once the EXTI line9event occurs (by pressing Key push-button on EVAL board) the correspondent interruptis served, in the ISR the led connected to PC.07 is turned off and the EXTI line9pending bit is not cleared. So the CPU will execute indefinitely EXTI line9 ISR andthe WWDG ISR will never be entered(WWDG counter not updated). As result, when theWWDG counter falls to 3Fh the WWDG reset occurs.If the EXTI line9 event don抰 occurs the WWDG counter is indefinitely refreshed inthe WWDG ISR which prevent from WWDG reset. If the WWDG reset is generated, after resuming from reset a led connected to PC.06is turned on. In this example the system is clocked by the HSE(8MHz).
上傳時間: 2013-11-11
上傳用戶:gundamwzc
幾個不錯的匯編語言程序,其中有a/d,d\a,led顯示等常用的匯編語言程序
標簽: 匯編語言程序
上傳時間: 2014-08-13
上傳用戶:磊子226
ST32 基于(英蓓特)STM32V100的EXTI程序 This example shows how to configure an external interrupt line. In this example, the EXTI line 9 is configured to generate an interrupt on each falling edge. In the interrupt routine a led connected to PC.06 is toggled. This led will be toggled due to the softawre interrupt generated on EXTI Line9 then at each falling edge.
標簽: configure interrupt external example
上傳時間: 2016-11-17
上傳用戶:GavinNeko
注塑機生產過程的微機控制系統設計本系統設計是通過8255A并行端口A、B傳輸數據控制12個LED發光二級管的亮滅來模擬控制兩臺注塑機的生產過程。其中端口A和B分別對應1號和2號注塑機,每一個LED代表一個工序。編程語言采用BORLAND C++語言。
上傳時間: 2013-12-25
上傳用戶:葉山豪
89C52單片機的底層代碼,包括A/D,D/A轉換,鍵盤,LED顯示等
上傳時間: 2015-04-05
上傳用戶:偷心的海盜
在定時器中斷中做LED的PWM輸出 AT89C2051實現A/D轉換的C51程序 單片機開發系統 指令系統 程序設計 定時與中斷 系統擴展 接口技術 串行口
上傳時間: 2015-04-21
上傳用戶:gonuiln
采用PIC16F877A單片機,A/D模擬量采集,LED顯示,E2ROM存儲,可斷電保持顯示數據,已硬件調示通過.供大家參考.
上傳時間: 2014-02-18
上傳用戶:sevenbestfei
this a example of led 128x64
上傳時間: 2015-09-20
上傳用戶:l254587896
競賽搶答器:控制8255,C口作為輸入,從A口輸出與之對應的LED段碼
上傳時間: 2015-10-04
上傳用戶:zxc23456789