John Collins
En-Route
One aspect of the Gillham code (gray code) is that for each increment in 100 foot altitude change, only a single bit is modified. This is done to prevent erroneous readings when the altitude is changing. If multiple bits changed at the same time, it would be possible to report an erroneous altitude, because in reality, there is a small time period during the transition that the bits being changed could report either state. With only one bit changing, the altitude readout is either the previous altitude or the next 100 foot higher altitude if the aircraft is climbing.