Adafruit_RGB_LCD SHIELD FINITE STATE MACHINE PROJ

I need to read a bit and what I'll probably do is try to just utilize the pure logic of your methods but as far as the hardware coding modifications from R-Pi to Arduino I am a bit lost need to do more research.