I am trying to build a simulated enigma machine.I am basing it off of this one https://www.101computing.net/enigma-machine-emulator/
I have setup the 3 rotors and I am having trouble understanding the rings and rotations. For example I have set the rotors to III,II,I with the 3rd rotors having a ring setting of AAB. If you enter and A then the output is a N. My simulator agrees with this.Then if you enter an A again the output is F. I followed my simulator through it process.
Rotor I (right most) rotates its keys to become JEKMFLGDQVZNTOWYHXUSPAIBRC. Then the A changes to a J.
J passes through the next 2 rotors to end up as a C.
This C is then passed through Rotor 1 in the reverse direction to give the final output. The example outputs F. My simulator matches the output of the example up to here.How does C become F on Rotor 1 with position AAC in the reverse direction.Any help understanding how the rings and rotations affect the rotors would be appreciated.I have read How does the ring settings of enigma change wiring tables? and I understand most of K Rossers answer until the final reverse output from the rotor.