/Modules/H_Bridge/HBSTEP01B/DOC/SRC/HBSTEP01B.doc
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/Modules/H_Bridge/HBSTEP01B/SW/I2CSPI_HBSTEP_SX17_test.py
67,11 → 67,11
spi.SPI_write_byte(self.CS, 0x00)
spi.SPI_write_byte(self.CS, 0x10)
spi.SPI_write_byte(self.CS, 0x0A) # KVAL_RUN
spi.SPI_write_byte(self.CS, 0x1F)
spi.SPI_write_byte(self.CS, 0x18)
spi.SPI_write_byte(self.CS, 0x0B) # KVAL_ACC
spi.SPI_write_byte(self.CS, 0x1F)
spi.SPI_write_byte(self.CS, 0x18)
spi.SPI_write_byte(self.CS, 0x0C) # KVAL_DEC
spi.SPI_write_byte(self.CS, 0x1F)
spi.SPI_write_byte(self.CS, 0x18)
# spi.SPI_write_byte(self.CS, 0x18) # CONFIG
# spi.SPI_write_byte(self.CS, 0b00111000)
# spi.SPI_write_byte(self.CS, 0b00000000)