setup dignaling between lcd and opengl