LR3 Air Suspension calibration

Some Dude

Well-known member
Feb 12, 2009
1,590
0
Boise, ID
Do you have a guide for what change in the target integer value corresponds to a known amount outside the vehicle?

And just for kicks, what happens if you set the target value to something absurd like 500?
 

jafir

Well-known member
May 4, 2011
1,628
0
Northwest Arkansas
Do you have a guide for what change in the target integer value corresponds to a known amount outside the vehicle?

And just for kicks, what happens if you set the target value to something absurd like 500?

He said unsigned, single byte integer. That would max out at 255.
 

Some Dude

Well-known member
Feb 12, 2009
1,590
0
Boise, ID
Well that's just silly. What happens if you put in the maximum unsigned Dword value? Does the computer explode?

Also, nice catch. Didn't hear that.
 

jafir

Well-known member
May 4, 2011
1,628
0
Northwest Arkansas
Well that's just silly. What happens if you put in the maximum unsigned Dword value? Does the computer explode?

Also, nice catch. Didn't hear that.

Well, the original Nintendo was 8bit (one byte) and have ever seen that trick in Mario where you use the shell to get lots of extra lives? I believe they used a signed integer instead of unsigned, so it would max out at 127. If you went over, it would overflow and basically wrap around to a negative number, and when they game level would end, you'd have less than 1 life and game over. I assume in this case, if there isn't logic to check it, it would just start back over at 0 and count up how ever much over 255 you went. So 258 would be the same as 2 maybe?