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 calls steeringLo * ProcessDrivingKeys (Part 2 of 6) calls steeringLo * SetSteeringLimit calls steeringLo * UpdateDashboard calls 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