Loading...
Pages: 1 ... 8 9 [10]   Go Down
Author Topic: Structure of code. Need help.  (Read 3713 times)
0 Members and 1 Guest are viewing this topic.
Valencia, Spain
Offline Offline
Edison Member
*
Karma: 65
Posts: 2233
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

Oz
Offline Offline
God Member
*****
Karma: 2
Posts: 560
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
Edison Member
*
Karma: 31
Posts: 2305
Experienced old Whitebeard with a Full head of Hair...
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

“The solution of every problem is another problem.” -Johann Wolfgang von Goethe

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