Beispiel #1
0
 def enableHV(self):
     syslog.syslog(LOG_STSW_PRI, "> HVControlBoard:enableHV")
     PBBDevices.selectSPISlave(GPIO_ID, SPI_MODE_0)
     PBBDevices.enableHV(SPI_MODE_0)
     PBBDevices.deSelectSPISlaves(SPI_MODE_0)
     syslog.syslog(LOG_STSW_PRI, "< HVControlBoard:enableHV")
	def enableHV(self):
		syslog.syslog(LOG_STSW_PRI,"> HVControlBoard:enableHV")
		PBBDevices.selectSPISlave(GPIO_ID,SPI_MODE_0)
		PBBDevices.enableHV(SPI_MODE_0)
		PBBDevices.deSelectSPISlaves(SPI_MODE_0)
		syslog.syslog(LOG_STSW_PRI,"< HVControlBoard:enableHV")