I would like to ask about how to use the timer too...
how to use set_timer0, get_timer0,
what is the meaning of the value of set_timer0(0)...
because I am doing a program that will have a digital waveform, which have high and low voltage...I would like to use timer to make the waveform low for a certain time..anybody can help me on this?

thanks in advance...

Recommended Answers

All 2 Replies

There's no timer in C. Presumably you're using a non-standard library, so you'll have to tell us which one so we can read the documentation and then tell you what you want to know (which will probably amount to something like "read the documentation!").

A waveform is made up of digital samples or frames. You don't need to do this operation in real time, rather you can calculate the length of each sample and set how ever many you need to "low".

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.