4834 views|2 replies

1379

Posts

0

Resources
The OP
 

NC2-51 MCU Learning Board Experimental Program Example 1 [Copy link]

NC2-51 MCU Learning Board Experimental Program Example

51 MCU learning board finished product picture
NS-1 download line finished product picture

Programming functions:

 The NC2-51 single-chip microcomputer learning board has built-in programming function.

Go to http://www.nnssh.com/downloads/down3.htm to download the Easy pro isp download line driver.

When using, insert the NS-1 (ISP) download cable into the computer parallel port, connect the leads to the learning board (marked on the learning board), turn on the power of the learning board, open the programming program to burn the chip.

Experimental features:

1. 4-digit LED light experiment, such as running water, indication, etc.
This learning board provides four LED indicator lights, located at P1.1, P1.5, P1.6, and P1.7 for running water experiment.

loop: clr p1.1
acall d01s
setb p1.1
clr p1.5
acall d01s
setb p1.5
clr p1.6
acall d01s
setb p1.6
clr p1.7
acall d01s
setb p1.7
ljmp loop

; Delay subroutine
d01s: mov r0,#255
d01l1: mov r1,#195
djnz r1,$
djnz r0,d01l1
ret

end

This post is from 51mcu

Latest reply

good   Details Published on 2006-7-21 19:02
 

1782

Posts

0

Resources
2
 
good
This post is from 51mcu
 
 
 

1379

Posts

0

Resources
3
 
Thank you
This post is from 51mcu
 
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list