I "recycle" that code to make a brand new Pneumaticraft Air Compressor controller, and i finish it and works, but i like to ask how i can make the program's menu to refres pressure, here is the code:
Spoiler
As you all can see, my code is very complex, i could make it more easy and simply, but this way i think is better for learning.
these last 2 lines dont work for refresing, i thing i need a "if bucle" or a "while bucle" for the refresing but didont know where i have to put then and how. Thanks a lot.
Edited by Bomb Bloke, 26 October 2017 - 09:37 AM.