Added rendering code for a triangle and code to change the triangle's color when a gpio pin state changes.