Adamsonics
Newbie
Hello Guys,
Please, I want someone to help me explain the meaning and uses of the following codes if possible with example:
(1) char old state = 0
(2) char oldstate2 = 0
(3) char oldstate = 1
(4) oldstate = 0
(5) oldstate = 1
(6) oldstate++;
(7) enum outputs {UTILITY_GEN = 0,GEN2_SHUTOFF = 1,GEN1_GEN2 = 2};
Please, I want someone to help me explain the meaning and uses of the following codes if possible with example:
(1) char old state = 0
(2) char oldstate2 = 0
(3) char oldstate = 1
(4) oldstate = 0
(5) oldstate = 1
(6) oldstate++;
(7) enum outputs {UTILITY_GEN = 0,GEN2_SHUTOFF = 1,GEN1_GEN2 = 2};