Example #1
0
func initDisplay() {
	C.bcm2835_init()
	C.TFT_init_board()
	C.TFT_hard_reset()
	C.RAIO_init()
	C.RAIO_SetBacklightPWMValue(255)
}
Example #2
0
func closeGpio() {
	C.TFT_hard_reset()
	C.RAIO_SetBacklightPWMValue(0)
	C.bcm2835_close()
}