Timing calculation for Tiva - make refresh rate a compile time parameter
rename gamma table - conflicts with library in Energia
Fix compile errors
Fix more compile errors