Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to generate a microsecond delay using Bascom 8051?

Status
Not open for further replies.

zohaib

Member level 4
Joined
Aug 24, 2007
Messages
75
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,288
Location
PAKISTAN
Activity points
1,729
hello every one
what are the good resources on the net for learning bascom avr?
how can i generate a delay of microsecond using bascom 8051?
 

bascom wait 1 microsecond


hi
the program help is good but may not satisfu you
dor the delay of 1 usecond , i think there is no basic command for that , but u could use the assembly comand 'nop' inside the basic code
 

    zohaib

    Points: 2
    Helpful Answer Positive Rating
basecom learning for avr

there is a command in bascom to wait the desired number of melli seconds

here it the command


WAITMS mS

for example

WAITMS 5

which waits for 5 ms
 

bascom usec

yes it does have

wait 1

waits for 1 sec

waitms 1

waits for 1 milisec

waitus 1

wait for 1 usec
 

    zohaib

    Points: 2
    Helpful Answer Positive Rating
learning bascom avr

The best tutorial in the web for bascomavr:
**broken link removed**
also:
**broken link removed**
Before post use search:

.....
 

    zohaib

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top