This is the begining of an arduino based CCR controller.
DO NOT UNDER ANY CIRCUMSTANCES TRY TO USE THIS CODE ON AN ACUAL CCR, IT WILL RESULT IN YOUR DEATH, MOST LIKELY WITHIN A FAIRLY SHORT TIME FRAME. DO NOT ANY CIRCUMSTANCES RELY ON THE DECOMPRESSION INFORMATION PROVIDED IN THIS SOFTWARE. IT IS FACTUALLY INCORRECT.
At this point, the code acts as a basic dive simulator, with serious issues in generating accurate decompression information.