There is no documentation. The code I provided changes the brightness to 0x80. Writing 0x00 will turn the display off. I also use this in my homeautomation solution, but it's not 100% stable and the touchscreen often doesn't respond anymore after changing brightness (mostly it starts responding agai...