Skip to navigation

Revs on the BBC Micro

Dashboard: steeringLo

Name: steeringLo [Show more] Type: Variable Category: Dashboard Summary: The low byte of the steering wheel position Deep dive: Computer assisted steering (CAS)
Context: See this variable in context in the source code References: This variable is used as follows: * AssistSteering uses steeringLo * ProcessDrivingKeys (Part 2 of 6) uses steeringLo * SetSteeringLimit uses steeringLo * UpdateDashboard uses steeringLo

The steering wheel position is stored as (steeringHi steeringLo), with the sign bit in bit 0 of steeringLo, so it's a sign-magnitude number. Negative (bit 0 set) means we are steering left, positive (bit 0 clear) means we are steering right.
.steeringLo EQUB 0