adding the code for framebuffer on Pi
need to test it out now and see if it works or not?