answersLogoWhite

0


Best Answer

Use 'usleep' or 'nanosleep'

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you generate 250ms delay in embedded c?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Is embedded C an assembly language?

No.


In C which loop is embedded within another loop?

The nested loop.


Why is C plus plus not widely chosen for embedded process application?

There is no such term as embedded process application but you probably meant embedded system software. Embedded systems can make use of general purpose compilers, assemblers and debuggers, but these are often used in conjunction with more specific high-level programming tools and modellers, many of which emit C-code or raw assembly.


Languages used to develop embedded systems?

C language is mostly used in most of the embedded systems. python is used for hardware related production and unix used to automated testing


Is there a 'c' code to generate the series a a b a b c?

#include <stdio.h> int main (void) { puts ("a a b a b c"); return 0; }

Related questions

What is the order of precedence with regard to the operator used in embedded C program?

Operator precedence in embedded C is exactly the same as in standard C.


Why embedded systems in only c?

Embedded systems are made only in C as it provides efficient memory management independence


Is embedded C an assembly language?

No.


Is c graphics same as embedded c?

No. Embedded C refers to C used to program the computer in robots, microwaves, your car, etc. C graphics is very generic and can refer to 3D rendering or just making a GUI.


Why embedded C you can access even a bit value?

C feels lonely on its own


What proteins are embedded in the mitochondria?

In the electron transport chain, NADH-Q reductase, succinate, ubiquinone, cyochrome c reductase, and cytochrome c oxidase are proteins embedded in the inner membrane of the mitochondria. Also embedded is ATP synthase, an enzyme--a specialized protein.


How do you write a program in embedded c?

Use a text-editor program.


In C which loop is embedded within another loop?

The nested loop.


Is C plus plus good for Embedded programming or not?

C and C++ programming is good for embedded programming. However, embedded implies long running, and that means the possibility of memory fragmentation. You will need to spend time working out or acquiring a method of memory management, such as the use of Smart Pointers and Garbage Collection. This is not a trivial task, but it is a necessary task.


What are the advantages of c over c?

Embedded c deals with MicroControllers,IO Ports( Ram, Rom). where as C deals with only memory, operatingSystems. C is a desktop programming language. for embedded a piece of software code is implemented into the hardware for its functioning which should supports pre-emption, low latency etc.


What is embedded sql?

Embedded SQL is a method of combining the computing power of a programming language and the database manipulation capabilities of SQL. Embedded SQL statements are SQL statements written inline with the program source code of the host language. The embedded SQL statements are parsed by an embedded SQL preprocessor and replaced by host-language calls to a code library. The output from the preprocessor is then compiled by the host compiler. This allows programmers to embed SQL statements in programs written in any number of languages such as: C/C++, COBOL and Fortran.The ANSI SQL standards committee defined the embedded SQL standard in two steps: a formalism called Module Languagewas defined, then the embedded SQL standard was derived from Module Language.[1] The SQL standard defines embedding of SQL as embedded SQL and the language in which SQL queries are embedded is referred to as the host language. A popular host language is C. The mixed C and embedded SQL is called Pro*C in Oracle and Sybase database management systems. In the PostgreSQL database management system this precompiler is called ECPG. Other embedded SQL precompilers are Pro*Ada, Pro*COBOL, Pro*FORTRAN, Pro*Pascal, and Pro*PL/I.


How do you calculate the time delay of RC circuit?

time delay will be 1/RC x 5 where R = value of resistor in ohms C= capacitance in Farads time delay will be 1/RC x 5 where R = value of resistor in ohms C= capacitance in Farads time delay will be 1/RC x 5 where R = value of resistor in ohms C= capacitance in Farads