Go Down

Topic: Structure of code. Need help. (Read 7907 times) previous topic - next topic

fungus



byte run(); // Returns which alarm is triggered, 0-Max_alarms, 255 means no alarm is triggered.

Excuse the "language" but: What the....?



Google for "C function prototype"


No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

lost_and_confused

Fungus,

The code has become a mixture of the orignal code and what I did to it.

Way back when.... I was wanting to get the number of the active alarm in the system.

Someone showed me where to get the value and return it.

"alarm()" has the active alarm in it.  It is returned form there to me to use.

When this was told to me I applied that and added the information in the remark.
Though reading some of the original remarks, I can not be certain.

Anyway, since then it has become accademic.

I'm now going to go away and ....  what ever.

I need to do things which make me happy, not upset.

Docedison

Quote
Anyway, since then it has become academic.

I'm now going to go away and ....  what ever.

[font=Verdana]I need to do things which make me happy, not upset.[/font]


Best thought I've heard all day...

Bob
--> WA7EMS <--
"The solution of every problem is another problem." -Johann Wolfgang von Goethe
I do answer technical questions PM'd to me with whatever is in my clipboard

Go Up