So, if I want to turn on the hazards I should do this:
#define LCS_SET_SIGNALS 1 // bit 0
- bit 0 means that we have to set nothing at 1 to turn on the hazard.
- Binary 1 = 1 Decimal
// bits 8-9 (Switches & 0x0300) - Signal (0 off / 1 left / 2 right / 3 hazard)
- 3 hazard means that we have to create the bin number 3, that is 3.
- So the binary will be 0000001100000000
Decimal = 768
768 + 1 = 769
Right?