hissokaaaa
Newbie level 3
- Joined
- May 27, 2012
- Messages
- 3
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,295
Hello,
I want to change this code to a code with C18 of Microchip , i tryed "struct" but it wouldint work , help please
I want to change this code to a code with C18 of Microchip , i tryed "struct" but it wouldint work , help please
Code:
bits control_bits;
#define start_new_command 0x00
#define status_written 0x01
#define advance_state 0x02
#define trickle_charge_disable 0x03
Code:
if (control_bits.start_new_command)
{
control_bits.status_written = FALSE;
}
Last edited: