CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - c select
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - c select - List
[
Other Embeded program
]
lamu
DL : 0
用AT89S51单片机的P0.0/AD0-P0.7/AD7端口接数码管的a-h端,8位数码管的S1-S8通过74LS138译码器的Y0-Y7来控制选通每个数码管的位选端。AT89S51单片机的P1.0-P1.2控制74LS138的A,B,C端子。在8位数码管上从右向左循环显示“12345678”。能够比较平滑地看到拉幕的效果。-P0.0/AD0-P0.7/AD7 with AT89S51 microcontroller port connected digital tube a-h-side, 8-bit digital control of the S1-S8 through the 74LS138 decoder Y0-Y7 to control the strobe tube each digital The bit select. AT89S51 MCU P1.0-P1.2 control 74LS138 of A, B, C terminal. In the 8-bit digital tube display from right to left circle, " 12345678." Can be smoothed to see the curtain effect.
Date
: 2025-12-23
Size
: 59kb
User
:
向波
[
Other Embeded program
]
001
DL : 0
单片机数字钟C程序 六位数码管 显示HH.MM.SS(时分秒),MM.DD-W(月日-星期),闹钟定时时间 按键S5依次选择调整时间-显示月日星期-调整月日星期-显示闹钟定时时间-调整闹钟定时 按键S2依次选中时分秒(月日星期)数码管,S3按键依次加1,S4按键依次减1 整点报时,闹钟功能-SCM Digital Clock C program six digital tube display HH.MM.SS (minutes and seconds), MM.DD-W (month day- week), alarm clock timer time S5 and select buttons to adjust the time- Display day of week- day of adjustment weeks- Show alarm time of time- time to adjust alarm button is selected when the minutes and seconds followed by S2 (day of week) Digital control, S3 button and then click Add 1, S4 button followed by a whole point timekeeping, alarm clock function
Date
: 2025-12-23
Size
: 6kb
User
:
赵小龙
[
Other Embeded program
]
EXAMPLE4.6
DL : 0
PIC16887A单片机通过拨码盘SW1选择AD通道,3位拨号开关DSW1选择AD结果对齐方式和参考电压(Vref+)与(Vref-),AD结果在C口和D口上的LED直接显示,如果有错误,在RB7的LED显示,并在C口上显示相应的错误信息。-PIC16887A MCU by dialing code disc SW1 select AD channel, three-dial switch DSW1 select AD results of alignment and the reference voltage (Vref+) and (Vref-), AD results in the C port and D port on the LED directly to show that if there is an error In RB7 the LED display, and the C port on the display appropriate error message.
Date
: 2025-12-23
Size
: 30kb
User
:
周欣
[
Other Embeded program
]
PICC_pro_v9.65
DL : 0
pic的C语言编程器,选择最新MPLAB IDE编译器-pic of the C programming language, select the latest MPLAB IDE compiler
Date
: 2025-12-23
Size
: 6.09mb
User
:
小锋
[
Other Embeded program
]
7.18pwm
DL : 0
用户编程: 1. A+B按住1秒,所有LED同时闪2下,进入编程模式 2. 默认显示当前设置时间LED亮,按A键一次,LED-A亮,再按,B亮,再按,C亮...从左至右依次定义为左A-30分钟、B-1小时、C-2小时、右A-3小时、B-4小时、C-5小时 3. 设定好小时后,按B键,设定对应小时的LED快闪两下,输入完成,转入分钟设置 4. 从左至右依次为左A-0分钟、B-10分钟、C-20分钟、右A-30分钟、B-40分钟、C-50分钟;默认右A亮。 5. 设定分钟后按B键,设定对应分钟的LED快闪两下,整个设置结束 亮度设置: 1、 双按AB按钮3秒,所有LED同时闪3下,进入亮度设置模式 2、 按A键依次选择亮度,从左至右亮度依次为5 、10 、20 、50 、70 、100 亮度,B键确定,所有LED全闪两次设置完毕 复位: A+B按住10秒,所有LED闪4下,恢复默认4小时30分延时设置,10 亮度 尽快用我们那个OPEN-sc51硬件系统搭接一个基本电路,然后编程实现第一部分功能 用STC单片机,实验室有功能较强的STC12C5A32S2可做实验用,以后做PCB实物时可用带有PWM的小尺寸表贴封装芯片 -User Programming: 1. A+ B hold one second, all the LED also flashes 2, enter the programming mode 2 The default time LED lights display the current settings, press the A button once, LED-A light, then, B light, then, C bright ... From left to right is defined as the left A-30 分钟, B-1 hours, C-2 hours, the right A-3 小时, B-4 小时, C-5 小时 3 hours after the set, press the B button, set the corresponding LED flash two hours, the input is complete, turn-minute set 4 from left to right, left A-0 分钟, B-10 分钟, C-20 minutes 分钟 Right A-30, B-40 分钟, C-50 分钟 default right A bright. 5 minutes after setting press the B button to set the corresponding LED flashes two minutes, the entire set an end Brightness settings: A double press AB button for 3 seconds, all LED also flashes 3, enter the brightness setting mode 2 Press A select Brightness, brightness from left to right order of 5 , 10 , 20 , 50 , 70 , 100 brightness, B button to confirm, all LED full flashes twice set up Reset: A+ B h
Date
: 2025-12-23
Size
: 5kb
User
:
彭洪
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.