Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Until a sufficient protocol can be defined for sending driver input data over CAN, we will be using the following dummy scheme for the event data field:

Byte #1:

Device Data
Bits0123456789101112131415
ContentsDevice identifierContentsDevice Number

Byte #2:

Bits01234567
ContentsDevice StateXXXDigital/!Analog

Byte #3:

Bits01234567
ContentsDevice Number

Byte #4:

Bits01234567
ContentsDevice Number


Pin Assignments

Input DevicePinType
PowerPC0Digital
Gas PedalPA1Analog
Mechanical BrakePA2Analog
Direction Selector ForwardPB2Digital
Direction Selector ReversePB3Digital
Cruise ControlPC4Digital
Cruise Control IncreasePC5Digital
Cruise Control DecreasePC6Digital
Turn Signal RightPC7Digital
Turn Signal LeftPC8Digital
Hazard Light SwitchPC9Digital
I2C Serial Data LinePB9I2C
I2C Serial Clock LinePB8I2C

...