Hidden Creek Software has released an iPhone/iPad application called Graycode. This app is a handy, small and useful tool for engineers and scientists who need to quickly and accurately convert numbers among Decimal, Binary, Hex and most importantly Gray code.
The problem with natural Binary codes is that, with real mechanical or electrical switches, it is very unlikely that switches will change states exactly in synchronous way. In the transition between the state "001" to "010", two switches change state. In the brief period while both of them are changing, the switches will read some spurious positions and cause some noises or errors.
The reflected Binary code, also known as Gray code after Frank Gray, is a binary numeral system where two successive values differ in only a single bit. It is a non-weighted code.
The key feature of this app Graycode is that a user can type a number in any of the following numerical system, like Binary, Hex, Decimal or Gray code. The number key pad will change accordingly depending on the field the user types in. Therefore, there is no mistake which can be made by typing wrong values. For example, if a user tries to type a binary number of "101010" in the Binary number input field, the key pad will only show two numbers available to use, i.e., a '1' and '0'. If the user decides to type a Hex number, then other numbers like 'A', 'B', 'C' and others will be available as well.
When the user types one number in any given field (numerical system), the number will be converted instantly and show up in other fields (numerical systems) as well. The user can switch the input fields back and forth at any given time.
While Gray code is used extensively in modern digital circuit and mechanical system design to reduce switching noises and error, it is also well known to be used in solving ancient classic problems like a Hanoi Tower or a Chinese Ring Puzzle.
To make the app more visual appealing, an animated solution of a Hanoi Tower with three disks is also demonstrated in the app so that the user can have a visual understanding what a Gray code is and how it is different from a natural Binary code and how it can be used in a real world application.
Graycode has been localized in three different languages such as English, Chinese and Japanese.
Graycode 1.0 is only $0.99 USD (or equivalent amount in other currencies) and available worldwide exclusively through the App Store in the Utilities category.