// Close closes the library, deallocating any allocaterd memory and closing // /dev/mem func Close() (err error) { if C.bcm2835_close() == 0 { return errors.New("Close: failed") } return }
func closeGpio() { C.TFT_hard_reset() C.RAIO_SetBacklightPWMValue(0) C.bcm2835_close() }