We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8813bc4 commit a3d88bbCopy full SHA for a3d88bb
1 file changed
pslab/bus/spi.py
@@ -175,7 +175,7 @@ def _set_parameters(
175
self._device.send_byte(CP.SET_SPI_PARAMETERS)
176
# 0Bhgfedcba - > <g>: modebit CKP,<f>: modebit CKE, <ed>:primary prescaler,
177
# <cba>:secondary prescaler
178
- self._device.send_byte(
+ self._device.send_int(
179
secondary_prescaler
180
| (primary_prescaler << 3)
181
| (CKE << 5)
0 commit comments