Pages: 1 ... 8 9 [10]   Go Down
Author Topic: Structure of code. Need help.  (Read 6136 times)
0 Members and 1 Guest are viewing this topic.
Valencia, Spain
Offline Offline
Faraday Member
**
Karma: 118
Posts: 4554
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


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"


Logged

No, I don't answer questions sent in private messages...

Oz
Offline Offline
God Member
*****
Karma: 3
Posts: 659
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Anaheim CA.
Offline Offline
Faraday Member
**
Karma: 44
Posts: 2810
...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Anyway, since then it has become academic.

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

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

Best thought I've heard all day...

Bob
Logged

--> 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

Pages: 1 ... 8 9 [10]   Go Up
Jump to: