1. This forum section is a read-only archive which contains old newsgroup posts. If you wish to post a query, please do so in one of our main forum sections (here). This way you will get a faster, better response from the members on Motherboard Point.

# querry

Discussion in 'Embedded' started by vinay.sidhu@gmail.com, Nov 26, 2008.

1. ### Guest

hi ....well can any one give the embedded c code for this
problem....the problem is to check the flow of liquid in to the
pipe...there is a sensor at outlet A to check the flow of
liquid..which generates pulses....flow rate of the liquidvaries
between 0% (0 pulses per minute) and 100%
(6,000 pulses per minute) ...we have to use negative edge transition
for the checking....and finallly we have to display this percentage
value on the seven segment LED ...

, Nov 26, 2008

2. ### Mike SilvaGuest

On Nov 26, 7:51 am, wrote:
> hi ....well can any one give the embedded c code for this
> problem....the problem is to check the flow of liquid in to the
> pipe...there is a sensor at outlet A to check the flow of
> liquid..which generates pulses....flow rate of the liquidvaries
> between 0% (0 pulses per minute) and 100%
> (6,000 pulses per minute) ...we have to use negative edge transition
> for the checking....and finallly we have to  display this percentage
> value on the seven segment LED ...

Nobody is going to give you "the embedded C code". Unless you pay
them, of course (it would also help if you could actually tell them
stuff like the microcontroller involved). But I'll help a little.
Notice that 6000 pulses per minute works out to 100 per second.
That's convenient (homework problems are often like that). So count
the number of pulses in some clever interval of your choosing and
display them. And be sure and use at least 128 bit encryption. OK,

Mike Silva, Nov 26, 2008

3. ### CBFalconerGuest

wrote:
>
> hi ....well can any one give the embedded c code for this
> problem....the problem is to check the flow of liquid in to the
> pipe...there is a sensor at outlet A to check the flow of
> liquid..which generates pulses....flow rate of the liquidvaries
> between 0% (0 pulses per minute) and 100%
> (6,000 pulses per minute) ...we have to use negative edge transition
> for the checking....and finallly we have to display this percentage
> value on the seven segment LED ...

Smells like homework. You might start by cleaning up your post.
For example, sentences end with a single '.' followed by at least
one, better two, spaces. Sentences begin with capital letters.

What kind of animal is a 'querry'?

--
[mail]: Chuck F (cbfalconer at maineline dot net)
[page]: <http://cbfalconer.home.att.net>

CBFalconer, Nov 27, 2008
4. ### Hagen PatzkeGuest

wrote:
> [same as (only slightly clearer)]

http://www.catb.org/~esr/faqs/smart-questions.html

Follow the advice there, _then_ come back and post a question that shows
you actually did some work.

(To put it bluntly: We are not your mommy!)

Hagen Patzke, Nov 27, 2008
5. ### Charmed SnarkGuest

expounded in news:be51b6f8-c11f-4a8f-9903-
:

> hi ....well can any one give the embedded c code for this
> problem....the problem is to check the flow of liquid in to the
> pipe...there is a sensor at outlet A to check the flow of
> liquid..which generates pulses....flow rate of the liquidvaries
> between 0% (0 pulses per minute) and 100%
> (6,000 pulses per minute) ...we have to use negative edge transition
> for the checking....and finallly we have to display this percentage
> value on the seven segment LED ...

int
main() {
char *p = 0;

for (;
*p++ = 0x00;
return 0;
}

Charmed Snark, Nov 28, 2008